[jdom-interest] XMLOutputter: extra white space inside tags
Jason Hunter
jhunter at collab.net
Sat Jun 23 14:16:53 PDT 2001
Chris Hostetter wrote:
>
> The XMLOutputter seems to be adding extra, unneccessary, white space after
> the last attr/value pair in an Element, source is attached...
>
> IN: <o><i p="v" p2="v2"/></o>
> OUT: <o><i p="v" p2="v2" /></o>
They're semantically equivalent, and many XML consumers (such as
browsers) prefer to have the space.
-jh-
More information about the jdom-interest
mailing list