[jdom-interest] < not allowed in attribut

Alex Rosen arosen at silverstream.com
Mon Jan 21 08:34:37 PST 2002

> > In Boerries's case you need also to escape < with &lt; and
> > with &gt;
> Gosh, I completely avoided answering his question, didn't I.
> That's what I get for writing email that late at night...
> Yes, I imagine setAttribute should do the escaping, too.

Actually setAttribute stores exactly what you pass in - it's that
XMLOutputter does the escaping, right?


More information about the jdom-interest mailing list