[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] encoding <-> omit-xml-declaration


Subject: Re: [xsl] encoding <-> omit-xml-declaration
From: Stan Devitt <jsdevitt@xxxxxxxxxxxxxx>
Date: Mon, 19 Jan 2004 00:02:13 -0500

Since ASCII is a subset of UTF-8, an XML file created using ASCII + entities should be correctly read if the reader assumed it was UTF-8. That is, there should be no harm in
writing some (most?) UTF-8 characters as entities. (or am I missing something here?)


What does XSLT 2.0 say about needing the xml declaration for such encodings?

Is US-ASCII such an encoding?

Stan Devitt

Michael Kay wrote:

... an XML declaration to be well-formed, so something has to give.

With Saxon, it's the omit-xml-declaration that gives, and that's what's specified in XSLT 2.0.






XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Current Thread
Keywords