users@jaxb.java.net

Re: JAXB XML output format questions

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Tue, 3 Mar 2009 16:13:51 +0100

On Tue, Mar 3, 2009 at 4:04 PM, Hansen Candrawinata <
hansen.candrawinata_at_gmail.com> wrote:

>
>
> Wolfgang Laun-2 wrote:
> >
> >> Get JAXB's source code and change this line :-)
> >
>
> Ahhhhh, I see :-) Yeah, I would not mind doing it when I have the time.
>
> Perhaps being a little smarter by providing an option to do unlimited
> indentation? This could be a property, say, JAXB_UNLIMITED_INDENTATION
> that
> will only take effect if JAXB_FORMATTED_OUTPUT is also true.
>
> Or it might turn on FORMATTED_OUTPUT, so that on setting is sufficient.


> It is not so much important actually. The XML output is meant to be for
> the
> end users to read and modify,


If you give them a "true" XML editor, as you should, they being end users,
they won't see the text and any indentations.

-W