Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

Re: [jdom-interest] XMLOutputter warnings

Jason Hunter

2007-08-04

Replies:

There's already a "Warning" block on the XMLOutputter and on the Writer
output method that accepts a Document. The only place it's not is on
every other output method that accepts the different types of nodes. If
you think it should be there, you can submit a patch and I'll commit it.

-jh-

Klotz, Leigh wrote:
> I just got bit by passing a Writer to XMLOutputter (again) and having
> the Writer's encoding du jour double encode the UTF-8 output of the
> XMLOutputter. Do you think you could put a reference to the warning in
> the prologue of the XMLOutputter class to the output and output* methods
> taking Writers?
>
> Leigh.
>
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.