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

http://issues.apache.org/bugzilla/show_bug.cgi?id=37560


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
          Component|chainsaw                    |Layout




------- Additional Comments From [EMAIL PROTECTED]  2006-08-31 21:03 -------
Not Chainsaw's fault.  The serializer (I assume that log4j's XMLLayout) used to 
write the sample document 
is naive and just dropped the NDC content into a CDATA section.  Unfortunately, 
the termination of the 
CDATA section within the NDC content (the ]]>) prematurely ended the CDATA 
section added by the 
serialization.  You can't nest CDATA sections.

Solutions would be to use a real XML serializer (like that provided by Xerces) 
or to make the log4j 
serializer smarter and not depend on CDATA sections (that is, it would convert 
<, > and & to &lt;, &gt; and 
&amp; and likely convert characters with code points greater than 127 to &#NNN; 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to