[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: encoding <-> omit-xml-declaration

Subject: Re: encoding <-> omit-xml-declaration
From: Stan Devitt <jsdevitt@xxxxxxxxxxxxxx>
Date: Mon, 19 Jan 2004 00:02:13 -0500
saxon omit xml declaration
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.