log4j-dev  

DO NOT REPLY [Bug 49471] Add CDATA parameter to XmlLayout

bugzilla
Sat, 19 Jun 2010 12:33:01 -0700

https://issues.apache.org/bugzilla/show_bug.cgi?id=49471

--- Comment #1 from Curt Arnold <carn...@apache.org> 2010-06-19 15:32:36 EDT ---
Could you elaborate on the motivation?  Is it to reduce the size of the
resulting string, to reduce the memory footprint of a DOM document, to increase
parsing speed?  If so, do you have any metrics on the potential benefits.

The XSLTLayout in the extras companion uses the XSLT serializer in the JDK and
should always produce valid XML document entities and is highly unlikely to
produce CData sections.  However, I don't know any metrics of its performance
relative to the XMLLayout.

There are known scenarios where the XMLLayout can produce invalid XML, but been
hesitant to add any overhead to detect for those scenarios and work around it.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org