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

Character �

  • From: "Fred L. Drake, Jr." <fdrake@a...>
  • To: xml-dev@l...
  • Date: Thu, 16 Aug 2001 00:47:02 -0400 (EDT)

0

  Perhaps this is a poor question, but there's a bug filed against
Expat that I'd like to be able to deal with in the right way.  A user
managed to insert some U+0000 characters in their data as NUL bytes,
and has found that the MS parser interprets them as whitespace, and
Expat doesn't.  I'd like to determine what the right thing to do would
be from the perspective that strict conformance is the right thing.
  Looking at XML 1.0 (2e), section 2.2 ("Characters"), at the "Char"
production, I'm led to believe that U+0000 is not a legal XML
character.  The comment attached to that production makes things less
clear (at least to me), in that it seems to imply that all by the
surrogates, U+FFFE, and U+FFFF are legal.
  So, should U+0000 be interpreted as whitespace, non-whitespace, or
an error?  (References to something I've missed would be quite
welcome!)
  Thanks!


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.