Re: [xslt] [PATCH] Imported encoding not set on result document



Nick Wellnhofer wrote:
Roumen Petrov wrote:
What about to add a test case that show that issue is resolved ?

Here is a new patch including a test case. Note that the test only covers the one symptom of the bug that I noticed.

Nick
10x

Now I understand where is problem - on attributes and if <xsl:output encoding=..> is imported. Both explain why I don't encounter problem as example with cyrillic encoding (ISO-8859-5).

I confirm that patch work - tested with xml-file in ISO-8859-1, xsl-file in UTF-8 (cyrillic attribute and text) and imp-file as is in the test case.

Roumen


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]