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

Re: Gag me with a blunt …

  • From: John Cowan <cowan@m...>
  • To: Rob Lugt <roblugt@e...>
  • Date: Mon, 19 Mar 2001 07:21:08 -0500 (EST)

first gag me
Rick Jelliffe scripsit:

> There is another relevant question: what is the use of the characters that
> has a different semantic than XML's #xA?

<fact>They reflect the fact that there are three separate line-ending control
characters, CR, LF, and NEL.  The first two were assigned to the C0
set in ASCII-based charsets, the last to the C1 set (0x80-0x9F).
(In EBCDIC there is only one group of control characters, 0x00-0x3F.)

Various systems have made various choices of line-end character.
The DEC operating systems, CP/M, MS-DOS, and Windows use CR plus LF.
Unix chose to use LF alone.  The Mac uses CR alone.  And OS/360
and its descendant operating systems use NEL alone.  The first three
choices are accommodated by XML, being converted to LF for convenience
in processing, except when appearing explicitly as character refs.
</fact>

<opinion>The fourth choice should be too.  So should the Unicode
specific choices, U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR.
</opinion>

> In other words, are NEL like TABs: archaisms that don't fit well with XML
> (or SGML in the absense of short-references).   

Not unless line-ends in general are to be considered archaisms.

-- 
John Cowan                                   cowan@c...
One art/there is/no less/no more/All things/to do/with sparks/galore
	--Douglas Hofstadter

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.