You should be able to -- according to the JAXP spec you can set features that are specific to the underlying implementation (but it will throw an exception if the feature you try to set is not understood by the implementation).
-----Original Message-----
From: Meena Kamath [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 11:17 AM
To: [EMAIL PROTECTED]
Subject: RE: parser looks for DTD file even if validation is off
I am not sure if it's possible to set Xerces specific features via JAXP,
does anybody have more information on this?
-----Original Message-----
From: Steve Carton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 1:39 PM
To: [EMAIL PROTECTED]
Subject: Re: parser looks for DTD file even if validation is off
How do I set that feature -- is it set in the documentbuilderfactory?
----- Original Message -----
From: "Meena Kamath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 01, 2001 1:23 PM
Subject: RE: parser looks for DTD file even if validation is off
| 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]
|
---------------------------------------------------------------------
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]
