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

Re: Some comments on the 1.1 draft


xml dev murata
On Thu, Dec 20, 2001 at 01:17:07AM +0900, MURATA Makoto wrote:
> Since CR and LF are normalized to CRLF by the XML parser, how can you
> expect fidelity?  Allowing C0 control functions to not provide any
> fidelity.  It merely causes problems.

Many of the SOAP toolkits preserve fidelity by serializing CR as &#d;
and LF as LF. That way no normalization occurs and the data is kept
intact. A useful trick.

XML fidelity of CRLF sequences are only an issue because they are
stated to be an issue in the XML spec. That is, the XML spec says
CRLF translates to LF. Since XML does not talk about any other
translations, there are no other XML fidelity issues with
C0 or C1 control functions. The issue seems to be that XML documents
are used within *other* systems and protocols, and the other systems
and protocols might stuff things up (eg: C programs tend to use NUL
to indicate the end of a string, a printer might use CTRL-D's
between print jobs, an OS might use ^Z to indicate end of file etc).

Alan

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.