How would I go about validating a DOM against the DTD?

I tried using org.apache.xerces.parsers.RevalidatingDOMParser and then
calling validate on the base element.  This returned null even though there
were discrepancies between the Element and the DTD.

Is there another way to go about this or am I missing something basic in the
RevalidatingDOMParser?

-Dave

Reply via email to