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 David DELGRANCHE <dd...@silicom.fr> on 2001/02/13 13:06:56 UTC

DOMparser validation option

Hi
I'm using xerces 1.2.2 to parse XML documents. I 'm not
always having a dtd for each document so I don't want xerces
to validate document with a DTD. I have used the setFeature
option to set the validation at false. When I try to parse a
document without DTD reference in it, there is no problem,
but when there is a DTD reference there is a bug telling me
that it can't find the specified DTD.
Does anyone know how to make the parser ignoring the DTD
reference when it is present in the XML document?
I hop somebody could help me because I'm really in a urge
Thanks a lot
David.