Non-UTF 8 output encoding does not work any more

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Gilles

Non-UTF 8 output encoding does not work any more

Post by Gilles »

First of all, I would like to congratulate the authors for their product!

I have recently upgraded to version 3.0. Since the upgrade, XSL stylesheets that used to produce <?xml version="xhtml1.0" encoding="iso-8859-1"?> with the standard

Code: Select all

<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" encoding="ISO-8859-1" method="xml" version="xhtml1.0" indent="yes"/>
command with Saxon do not work any more. It produces this kind of prolog:
<?xml version="xhtml1.0" encoding="ISO8859_1"?>, which is of course incorrect.

I have not tested with other encodings, nor with Xalan.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Gilles,

AFAIK Saxon always handled encodings like this, ISO8859_1 is the Java encoding for IANA ISO-8859-1. Xalan will give you ISO-8859-1.

Best Regards,
George
Post Reply