[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
On Wed, 12 Mar 2003 21:48:06 -0500
"Simon St.Laurent" <simonstl@s...> wrote:

> It doesn't look like XML 1.1 changes the S production of XML 1.0, so
> while NEL is permitted in element and attribute content, it isn't
> considered whitespace inside of markup components like tags and
> declarations.
> Is that a correct reading, or have I missed a tidbit someplace?

I asked about this, and was told that it's supposed to be normalized to
LF before whitespace processing happens.  At which point I asked why CR
was part of the S production, and was given this hideous hack, using
parameter entities, that allows one to force an un-normalized CR into
attribute content.  Which struck me as a completely bizarre and useless
form of backward compatibility with SGML (the reason, insofar as I
understand it, to preserve the hackishness of this particular hack), but
so it goes.

Seriously strange corners of XML.  CR cannot appear in content when the
S production is applied, except if you pull some 'rageous nonsense to
make it do so, at which point one really *wonders* why it ought to be
considered a space at all.

Amelia A. Lewis                    amyzing {at} talsever.com
Love doesn't just sit there, like a stone, it has to made, like bread,
remade all the time, made new.
                -- Ursula K. Le Guin


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.