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

RE: SAXON and UTF-8

Subject: RE: SAXON and UTF-8
From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxx>
Date: Thu, 27 Sep 2001 18:14:25 +0100
utf 8 bom saxon
Michael Kay wrote at 27 Sep 2001 17:27:51 +0100:
 > My reading of the XML spec is that it expects to find BOM only in UTF-16
 > files. I can't see any total prohibition of a BOM in a UTF-8 file, but the
 > spec certainly seems to assume that they won't occur. If anyone thinks
 > otherwise, I'd like to see evidence from the XML specification, which is the
 > only definitive source.

You are required to have the BOM with UTF-16, but there's nothing that
says that you can't have a BOM with UTF-8.

Appendix F in XML 1.0 2ed provides an example of the UTF-8 BOM.

Regards,


Tony Graham
------------------------------------------------------------------------
XML Technology Center - Dublin        mailto:tony.graham@xxxxxxxxxxxxxxx
Sun Microsystems Ireland Ltd                       Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3            x(70)19708

 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-2011 All Rights Reserved.