[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: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Thu, 27 Sep 2001 18:39:13 +0200
saxon utf8
Seems to me that

http://www.w3.org/TR/2000/REC-xml-20001006#sec-guessing-no-ext-info

is quite clear about it...

(I think this was changed in the second edition)

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Michael Kay
> Sent: Thursday, September 27, 2001 6:28 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  SAXON and UTF-8
>
>
> > Windows Notepad saves UTF8 files with Byte Order Mark, and
> > AFAIK, the XML
> > parser in Saxon (AElfred) doesn't support this (at least it
> > didn't last time I checked).
> >
>
> The question is, can an XML document (or entity) in UTF-8 encoding start
> with a BOM? The fact that Unicode allows it, and the fact that Notepad can
> create it, doesn't make it legal XML.
>
> 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.
>
> This is of course totally off-topic for XSLT.
>
> Mike Kay
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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.