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 ?


Received on Friday, 4 January 2002 18:28:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC