You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Vedire Srikanth-FSV003 <Sr...@motorola.com> on 2001/03/23 18:19:33 UTC

wml validation

I've turned on the validation feature in DOMParser. The validation works
fine for Element attributes, but doesn't seem to validate child-elements. 

Excerpt from WML 1.3 DTD

<!ELEMENT card (onevent*, timer?, (do | p | pre)*)>
<!ATTLIST card
	..... stuff deleted ....
>

By mistake I had created a wml page with child elements under card which
don't match any of the valid ones. There was no parse exception raised. Am I
missing something here?

Features used are validation true, defre-node-expansion false,
ignore-whitespace true.

Srikanth

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org