users@jaxb.java.net

Re: Handling Special Chars

From: Dmitri Colebatch <colebatchd_at_gmail.com>
Date: Mon, 3 Oct 2005 15:48:39 +1000

I'll crawl back into my corner then (o:

On 03/10/05, Robert Lowe <robertmlowe_at_rmlowe.com> wrote:
> Dmitri Colebatch wrote:
>
> > XMLBeans gets around this by only including the xml decl if you use
> >
> >the OutputStream. Perhaps this is something that jaxb could consider.
> >
> >
> My understanding is that the XML spec states that, if the XML
> declaration is omitted, then the encoding is UTF-8 by implication.
> Therefore, omitting the XML declaration really achieves nothing here.
> Including an explicit declaration of 'encoding="utf-8"' is semantically
> equivalent to omitting the declaration.
>
> --
>
> Best regards,
> Robert Lowe
>
> http://rmlowe.com/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>