[jdom-interest] Bug Outputting Elements that have text and elements
as children
Jason Hunter
jhunter at collab.net
Sun Nov 19 13:20:59 PST 2000
> I am using the B5 build. Currently XMLOutputter outputs an Element
> that has text and elements as children, like this:
>
> <Root>
> <Element>
> Some Content <Child>Some More Content</Child>
> </Element>
> </Root>
>
>
> Shouldn't it be like this:
>
> <Root>
> <Element>Some Content
> <Child>Some More Content</Child>
> </Element>
> </Root>
Whitespace is preserved very literally, per the XML 1.0 spec. I don't
like it a whole lot either.
-jh-
More information about the jdom-interest
mailing list