Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Line ending normalization

From: Bob Kline <bkline@---------.--->
To: xml-dev@-----.---.---
Date: 5/4/2009 4:15:00 PM
I'm having a hard time finding the language in the 1.0 spec [1] which 
would make it clear whether the line ending normalization which XML 
processors must perform (more precisely, "must behave as if it 
normalized all line breaks ...") happens before or after the replacement 
of character entities.  In other words, for the following document:

<a>x&#x000d;&#x000a;y</a>

is the value returned by the XML parser for the text content of element 
e "x\r\ny" or "x\ny"?

Could someone point to the language which would address this timing 
question?  And do the major XML parser implementations handle this issue 
consistently?


Apologies if this has already been dealt with on the mailing list.  I 
tried using the search interface, but got the error message "The 
requested URL /cgi-bin/htsearch was not found on this server."

[1] http://www.w3.org/TR/2008/REC-xml-20081126/

-- 
Bob Kline
http://www.rksystems.com
mailto:bkline@r...


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent