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

Re: Closing Blueberry

  • From: Rob Lugt <roblugt@e...>
  • To: John Cowan <cowan@m...>, Tim Bray <tbray@t...>
  • Date: Thu, 19 Jul 2001 13:59:46 +0100

Re: Closing Blueberry
John Cowan wrote
>
> Repeating: the NEL proposal does *not* change the grammar
> of XML: what it does is add NEL and LS (U+2028) to the
> list of things that are accepted externally and mapped
> to LF first thing by the parser.

I must have missed this the first time you wrote it, because I don't think
it's true.

The xml rec currently states (in 2.11)  "To simplify the tasks of
applications, the characters passed to an application by the XML processor
must be as if the XML processor normalized all line breaks in external
parsed entities (including the document entity) on input, before parsing, by
translating both the two-character sequence #xD #xA and any #xD that is not
followed by #xA to a single #xA character."

I think the important point here is that the characters passed to the
application must be *as if* they were normalised.  The spec does not state
that the normalisation must occur before parsing (it could happen before
passing the characters to the application but after input tokenization).  If
it did then the white space production: s ::== (#x20 | #x9 | #xD | #xA)
wouldn't make sense because there would be no #xDs in the input stream.

Regards
~Rob

--
Rob Lugt
ElCel Technology
http://www.elcel.com/



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.