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 Meena Kamath <me...@openmarket.com> on 2001/11/01 20:46:59 UTC

An Update - was:RE: parser looks for DTD file even if validation is off

I use Xerces 1.4.0, I believe this has been fixed (Bugzilla 1143) for Xerces
2.x but have yet to verify that myself.


-----Original Message-----
From: Meena Kamath [mailto:meena.kamath@openmarket.com]
Sent: Thursday, November 01, 2001 2:37 PM
To: 'xerces-j-user@xml.apache.org'
Subject: RE: parser looks for DTD file even if validation is off


Yes, and that is indeed the exception I get whereas a DOMParser.setFeature()
on the same feature works.  I vaguely remember reading somewhere that you
cannot set Xerces specific features via JAXP, just trying to verify if
that's true.

-----Original Message-----
From: Sandor Szego [mailto:SSzego@Saba.com]
Sent: Thursday, November 01, 2001 2:19 PM
To: 'xerces-j-user@xml.apache.org'
Subject: RE: parser looks for DTD file even if validation is off



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:meena.kamath@openmarket.com
<ma...@openmarket.com> ] 
Sent: Thursday, November 01, 2001 11:17 AM 
To: xerces-j-user@xml.apache.org 
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:scarton@retrievalsystems.com
<ma...@retrievalsystems.com> ] 
Sent: Thursday, November 01, 2001 1:39 PM 
To: xerces-j-user@xml.apache.org 
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" <me...@openmarket.com> 
To: <xe...@xml.apache.org> 
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
<http://apache.org/xml/features/nonvalidating/load-external-dtd> . 
| 
| -----Original Message----- 
| From: Shashank Rajvanshi [ mailto:srajvans@openmarket.com
<ma...@openmarket.com> ] 
| Sent: Thursday, November 01, 2001 1:20 PM 
| To: xerces-j-user@xml.apache.org 
| 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: xerces-j-user-unsubscribe@xml.apache.org 
| For additional commands, e-mail: xerces-j-user-help@xml.apache.org 
| 
| --------------------------------------------------------------------- 
| To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org 
| For additional commands, e-mail: xerces-j-user-help@xml.apache.org 
| 


--------------------------------------------------------------------- 
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org 
For additional commands, e-mail: xerces-j-user-help@xml.apache.org 

--------------------------------------------------------------------- 
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org 
For additional commands, e-mail: xerces-j-user-help@xml.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org