[jdom-interest] Attribute/CDATA question

Jason Hunter jhunter at collab.net
Wed May 23 12:41:58 PDT 2001


"Kirschen, David" wrote:
> 
> Hi,
> 
> The exception is: The value of attribute "anAttribute" must not contain the
> '<' character.
> 
> Is this:
>         - A known limitation of JDOM?
>         - A JDOM bug?
>         - Invalid XML?
> 
> The assumption is that it is valid XML, since the XML spec
> (http://www.w3.org/TR/2000/REC-xml-20001006) says:

Here's the pertinent section:

http://www.w3.org/TR/2000/REC-xml-20001006#NT-Attribute

Answer: Invalid XML.

-jh-



More information about the jdom-interest mailing list