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 Benson Cheng <Be...@viacore.net> on 2003/06/23 19:34:43 UTC

Use DTD Validation

Is there a similar property
http://apache.org/xml/properties/schema/external-schemaLocation that for
DTD?  Basically I want to validate the documents against DTD, but there
no DOCTYPE defined within the document, so I want to set a DTD through
the property or feature.

 

Thanks,

Benson.


Re: Use DTD Validation

Posted by Maksym Kovalenko <mk...@marketswitch.com>.
Take a look at
http://xml.apache.org/xerces2-j/faq-grammars.html#faq-3

Benson Cheng wrote:

> Is there a similar property 
> http://apache.org/xml/properties/schema/external-schemaLocation that 
> for DTD?  Basically I want to validate the documents against DTD, but 
> there no DOCTYPE defined within the document, so I want to set a DTD 
> through the property or feature.
>
>  
>
> Thanks,
>
> Benson.
>

-- 
------------------------------------------------------------------------

Maksym Kovalenko