Henry,
 
for this case you should use an EntityResolver where you can provide your own DTD.
 
cheers
 
 
Peter
-----Urspr�ngliche Nachricht-----
Von: Henry Chan [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 8. November 2002 00:33
An: [EMAIL PROTECTED]
Betreff: Validating against a DTD

Hi all,

 

Just wondering if there was a way to validate an XML doc against a DTD

*WITHOUT* the XML doc specifying which DTD to load (i.e. no DOCTYPE) My customer is sending an XML stream and I want to validate it against my own DTD

 

thx,

Henry

 

Reply via email to