[jdom-interest] Valid and Invalid characters.

Alex Rosen arosen at silverstream.com
Fri Jul 27 07:59:24 PDT 2001

> > Also how does a parser handle <> when parsing a document?
> Escapes them.

More precisely, when parsing, it unescapes &lt; and &gt; into < and >.
If you tried to put an actual < in an on-disk XML document, the parser
would give you an error. In character data, the strings that must be
escaped are "<" "&" and "]]>".


More information about the jdom-interest mailing list