[jdom-interest] XMLOutputter warnings

Jason Hunter jhunter at servlets.com
Sat Aug 4 11:21:28 PDT 2007


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@yourhost.com


More information about the jdom-interest mailing list