[jdom-interest] jdom 1.0 XMLOutputter
wleng at metatomix.com
Tue Sep 21 08:41:40 PDT 2004
This does not explain the reason. With a raw Format, XMLOutputter is
supposed to return the exact text content. No normalization is involed
here. If that change is for the sake of normalization, I think, it
should be included in the normalization section.
Bradley S. Huffman wrote:
>Bill Leng writes:
>>I am trying jdom 1.0 and found that XMLOutputter now manipulates \n and
>>\r. This behaviour, I believe, is a bug because I can not get exactly
>>what I put in. The actual manipulation code is in
>>XMLOutputter.escapeElementEntities. It is added in jdom 1.0. Can anyone
>>shed some light on this? Please see the attached test file for detail.
>The carriage return is being output as a char. reference, otherwise line end
>normalization would change it to a single line feed.
>See the bottem of the message at lists.xml.org/archives/xml-dev/200306/msg00634.html.
More information about the jdom-interest