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

Re: Converting linebreaks

Subject: Re: Converting linebreaks
From: Mike Brown <mike@xxxxxxxx>
Date: Tue, 8 May 2001 11:44:24 -0600 (MDT)
xml linebreaks
Oleg Tkachenko wrote:
> I'm interested,  if there is any mention about this permission in specs ? XML 1.0 spec says something opposite:
> "An XML processor must always pass all characters in a document that are not markup through to the application. "

This is correct; the parser should not be discarding white space, but it
must say whether the white space characters are significant (must be
preserved). The application may choose to ignore the characters that
don't need to be preserved.

It becomes messy with the DOM because it's not crystal clear where the
XML processor (parser) ends and the application begins.

   - Mike
_____________________________________________________________________________
mike j. brown, software engineer at  |  xml/xslt: http://skew.org/xml/
webb.net in denver, colorado, USA    |  personal: http://hyperreal.org/~mike/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.