You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/10/20 00:06:49 UTC

DO NOT REPLY [Bug 4302] New: - CDATA whitespace not preserved

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4302>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4302

CDATA whitespace not preserved

           Summary: CDATA whitespace not preserved
           Product: Xerces-C++
           Version: 1.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: DOM
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: patrick_devalck@pi.be


CDATA sections should preserve all white space occurring between the opening <!
[CDATA[ and closing ]]>
On Windows, when the CDATA section contains the CR/LF combination (hexadecimal 
0D 0A) this is not preserved when parsing a document which contains such a 
section. Actually, the 0D 0A sequence is converted to 0A - the 0D is dropped.
The purpose of a CDATA section is to preserve anything between the opening and 
closing tag - but when writing out the DOM representation of the document, the 
0D character is removed where it should be kept

Note that the OD OA combination is not escaped in the input document.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org