Hi All,

I am doing the schema validations on the incoming xml documents, and most of 
the documents contain the DOCTYPE line in the document, currently I remove this 
line from the document before pass it to Xerces with a schema name for the 
schema validation.  I am wondering  is there a property in Xerces that we can 
set, so it will not try to load the DTD?  Or is there other way such as use the 
EntityResolver.resolveEntity() method return an empty InputSource or null, so 
Xerces does not report any errors regarding to the DTD is not present?

thanks in advance,
Benson.


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

Reply via email to