Can't validate xml with DTDs
I'm trying to validate some xml files (not created by me). Whenever the xml has a DTD but no schemaLocation or no-namespace schema location specified, the validator (both xerces 2.9 and Java 1.5's default) says
"cvc-elt.1: Cannot find the declaration of element "
The xml is valid and the external DTDs were resolved, but the validator doesn't use the element definitions from the DTD.
What do I need to do to get the validator to accept my xml files?