W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2002

DOCTYPE specified but DTD not available

From: Sudhir Parikh <sparikh@Resonate.com>
Date: Fri, 4 Jan 2002 15:28:46 -0800
Message-ID: <019c01c19577$8e845a90$6906a8c0@resonate.com>
To: <www-dom@w3.org>
I have a case where the XML file has specified the DOCTYPE
<!DOCTYPE mgt-message SYSTEM "C:\cs.dtd">

and I do not have the cs.dtd.

When I am trying to parse the file using th DOM parser, with ValScheme set to "Val_Never", I am unable to get any elements. If the <!DOCTYPE ...> is removed, then it works allright. 

Any ideas as to how can I parse an XML file which has the <!DOCTYPE ....> specified but the DTD is not available ?

Thanks

-Sudhir
Received on Friday, 4 January 2002 18:28:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT