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/09/06 18:50:51 UTC
DO NOT REPLY [Bug 12369] New: -
invalid output from DOMWriter using MemBufFormatTarget
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=12369>.
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=12369
invalid output from DOMWriter using MemBufFormatTarget
Summary: invalid output from DOMWriter using MemBufFormatTarget
Product: Xerces-C++
Version: 2.1.0
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: DOM
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: dean.kreiser@tfn.com
I created a MemBufFormatTarget and passed it as the target for a DOMWriter to
save the DOMDocument object to a buffer. The input document had escaped
characters (& > and <), but on output, the > was not converted
back to the symbolic representation but was left as a '>'. In addition, a
CDATA section "<![CDATA[<tag1>this is cdata]]>" was saved as "<![CDATA
[<tag1>this is cdata]>>".
As a result, the saved buffer would not parse when resubmitted to the parser.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org