[jdom-interest] Valid and Invalid characters.

Brett McLaughlin brett at newInstance.com
Thu Jul 26 13:34:36 PDT 2001


> How do parsers in general handle invalid characters such as: <>
>
> If someone where to create a new document and call a method similar to
> addContent("<>");
>
> Would the parsers transform the <> to escape sequences.

Yes

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

Escapes them.

>
> I have a servlet where customers submit dat to, but I canot handle what
data
> they enter through the HTTP form. I need to be able to process every
> character sent.

JDOM would work fine, I think.

---
Brett McLaughlin
Enhydra Strategist:   http://www.enhydra.org
Lutris Technologies: http://www.lutris.com
O'Reilly Author:       http://www.newInstance.com




More information about the jdom-interest mailing list