[jdom-interest] jdom 1.0 XMLOutputter
Bradley S. Huffman
hip at cs.okstate.edu
Tue Sep 21 08:20:56 PDT 2004
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