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

NEL where?

  • From: Tim Bray <tbray@t...>
  • To: xml-dev@l...
  • Date: Thu, 19 Jul 2001 12:00:42 -0700

a. nel
At 12:02 PM 19/07/01 -0400, John Cowan wrote:
>David Carlisle wrote:

Pointing out problems with NEL in the XML declaration

>For the Nth time, I am *not* proposing adding NEL/LS to XML white space!
>I am proposing changing what XML understands as a low-level line end.
>This is quite different.

Really?  So you wouldn't add it to the production for "S"?
I.e. you wouldn't be able to have a NEL in the middle of
a tag?  All you're saying is that when it's in the data
stream it should be mapped to \n?  In this case, we have a 
tempest in a teapot.  But I didn't think that's what the
mainframers wanted, they wanted to be able to say

<img src="x.jpg"
     alt="the mighty X" />

and have a NEL between src= and alt=

I thought David Carlisle pointed out a real problem:
if I can have NELs in the middle of my encoding declaration,
it's a substantial increase in the complexity of parsing them
to pull the encoding stream out.  In principle it shouldn't
matter, since an XML processor has to be able to do UTF8 and
UTF16, so it should be able to unpack characters... but it
was a nice characteristic that the XML encoding declaration 
was all characters with values < 128... i.e. you could read
and interpret bytes before you decided to turn on the
UTF-* machinery.  -Tim


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.