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 2002/04/26 11:27:27 UTC

DO NOT REPLY [Bug 8549] New: - XMLFormatter::CharEscapes should include close angle

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

XMLFormatter::CharEscapes should include close angle

           Summary: XMLFormatter::CharEscapes should include close angle
           Product: Xerces-C++
           Version: 1.7.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: richard.whitehead@ieee.org


The documentation isn't clear what the different types of escapes are for, but 
the samples use CharEscapes to encode text elements.  But this only encodes 
open angles not close, so if you embed XML inside a string, say you put 
<inner/> inside a text element of <outer>, you get <outer>&lt;inner/></outer>.
I presume this is a bug in the escpes, if not then it is a bug in the DOMPrint 
sample and other samples.

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