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

Re: XML and whitespace: lets just dump CR and LF!

  • From: "Rick Jelliffe" <ricko@a...>
  • To: "Tim Bray" <tbray@t...>, <xml-dev@i...>
  • Date: Wed, 6 Aug 1997 06:39:43 +1000

sed add newline

 
> From: Tim Bray <tbray@t...>
 
> Heh-heh.  If you go look in the proceedings of the 1988 Usenix conference,
> you'll find a paper I wrote, on the Oxford English Dictionary project,
> which has a section entitled
> 
>  '\n' Considered Harmful
> 
> I'd love to lose the record-end silliness.  Trouble is, we're stuck with
> it until we have better editing tools. -T.
 
I'm not saying to ban the characters, merely to say give them no significance
for an application.  So we can still use our existing editing tools.

For example, using vi or sed to add the unambiguous newline to an existing file,
which will be stuck in an HTML-like <PRE>, it is merely a rule like 
   1,$s/$/\&#x2028;/
which is trivial.  

We can do this only because we are using ISO 10646 as the document character
set: since we have the chance to clear up the mess with a simple convention,
why not take it!


Rick Jelliffe

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@i... the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@i...)


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.