bugzilla
Sun, 20 Jun 2010 14:01:36 -0700
https://issues.apache.org/bugzilla/show_bug.cgi?id=49471
--- Comment #2 from mattgerl...@msn.com 2010-06-20 17:01:07 EDT --- (In reply to comment #1) > 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. The motivation is I am using the XMLLayout for logging messages that I know are valid xml. Without the CDATA it is much more straight forward to extract the information I want. -- 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