[jdom-interest] validation and ANY

Carl Jensen carl.jensen at zurichlifeus.com
Thu Oct 25 07:32:04 PDT 2001

Part of my DTD specifies the following element:

<!ELEMENT OLifEExtension ANY>

It was my impression that ANY allows for any element that I want.  However,
when I try to validate my document, I receive the following exception:

Validating exception: org.jdom.JDOMException: Error on line 83: Element
type "BenefitPercentage" must be declared.

Was my impression wrong?  Is there any way to get around this?

carl jensen

More information about the jdom-interest mailing list