Use the feature:
http://apache.org/xml/features/nonvalidating/load-external-dtd.

-----Original Message-----
From: Shashank Rajvanshi [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 01, 2001 1:20 PM
To: [EMAIL PROTECTED]
Subject: parser looks for DTD file even if validation is off



I am parsing an XML document (which refers to a DTD file which may or may
not
exist), I have parser validation turned off, but still parser looks for the
DTD
file and fails if it does not exists.

Why does parser looks for DTD if validation is turned off ?

regards,
Shashank


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

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

Reply via email to