I am using the DOMNormalizer to validatie instance document against DTD or XSD. I noticed that this even works when the instance document itself is an xsd. You can give http://www.w3.org/2001/XMLSchema.xsd as the schemaLocation and the document will be validated without problems. PSVI information will be added to the DOM. So far the behaviour great and exactly what I need (DOMError locations, psvi).

But the checking that is done to the schema is not as strict as done by a real GrammarParser. But to the grammarparser I can not pass a DOM. Is there a solution for my problem. ?

Regards
Dick Deneer






Reply via email to