You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/01/11 21:33:41 UTC

DO NOT REPLY [Bug 5817] New: - DOM Parser unescaping escaped characters

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

DOM Parser unescaping escaped characters

           Summary: DOM Parser unescaping escaped characters
           Product: Xerces-J
           Version: 1.4.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: lchui@everypath.com
                CC: lchui@everypath.com


I created an InputSource which is initialized with a string containing already 
escaped characters:
... my data contains already escaped character &amp; DOM parser unescaped it ..

After running DOMParser.parse(), the escaped characters become unescaped:
... my data contains already escaped character & DOM parser unescaped it ... 

The resulting XML document is subsequently passed to another XML parser and 
there I got a parsing exception.

Is there any configuration parameter to tell the DOM parser not to unescape my 
data? 

Thanks in advance,
Lisa Chui

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