I can't speak from direct DOMParser experience, but with my SAXParser, I am able to 
set pParser->setEntityResolver(SAXEntityResolver*) and a brief glance shows a similar 
DOMEntityResolver*.  You should be able to override resolveEntity(...) to get whatever 
behavior you desire.

Adam Heinz
Development Consultant

Exstream Software
2424 Harrodsburg Road, Suite 200
Lexington, KY 40503
(859) 219.8137
> (859) 223.9737 fax
[EMAIL PROTECTED]

connecting with the eGeneration
www.exstream.com

-----Original Message-----
From: Andreas B. Thun [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 7:53 AM
To: XERCES ML
Subject: Validation with another DTD than specified in XML file

Is there a way to force the DOMParser to validate
a DTD which is different to the DTD specified
in the XML file?

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

Reply via email to