Hi all,

I've got an application where I use XML documents that _must_ adhere to a
certain, known, DTD.
What I'd like to be able to do is force my DOMParser (or its Validator, or
whatever) to always use a DTDValidator with that DTD to validate documents,
even if their DOCTYPE is missing or says they're of a different type (if the
document is of a different type, I can't successfully use it)
I've looked closely at DTDValidator, but even creating my own validator
won't help, because its scanDocTypeDecl() method will only be called if a
<DOCTYPE entry is found.
Is there any way of achieving this?

TIA, Evert


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to