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

Re: whitespace in 1.1

Re:  whitespace in 1.1
From: "Richard Tobin" <richard@c...>

> The original 1.0 text said:
>   To simplify the tasks of applications, wherever an external parsed
>   entity or the literal entity value of an internal parsed entity
>   contains either the literal two-character sequence "#xD#xA" or a
>   standalone literal #xD, an XML processor must pass to the
>   application the single character #xA. (This behavior can
>   conveniently be produced by normalizing all line breaks to #xA on
>   input, before parsing.)
> Unfortunately, it turns out that normalizing on input is *not*
> equivalent to the conversion described, because of the possibility of
> using character references in entities.  So the spec was
> contradictory.  Furthermore the normalization-on-input version is the
> one that most processor use.  In an attempt to be declarative rather
> than procedural, it instead was inconsistent.

I think the trouble here is the phrase "on input, before parsing".
It should be clarified whether this means on DTD parsing
or on entity parsing. If it means the latter, what happens to the
normal text of the document entity, or is that counted as an "external"
parsed entity?

The original decision on LF seems to be at
and Liam Quinn explicitly immediately raised the subject of the significance
of character references at

Rick Jelliffe


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.
First Name
Last Name
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.