OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Loading an External DTD for an XML using MSXML

[ Lists Home | Date Index | Thread Index ]
  • From: "Amit" <Amitr@abinfosys.com>
  • To: <xml-dev@ic.ac.uk>
  • Date: Mon, 18 May 1998 20:09:37 +0530

Hello All,
	   I am invoking the MSXML java parser through the XMLDSO class which I am
embeding in the <APPLET> tag in my HTML page. 

        '<APPLET code="com.ms.xml.dso.XMLDSO.class" MAYSCRIPT id=xmldso 
WIDTH="100%" HEIGHT="50">' +
        '<PARAM NAME="URL" VALUE="magic.xml">' +
        '</APPLET>';

	   In my <APPLET> tag itself I am loading the XML file (magic.xml).
	   But I also want to call the DTD associated with the magic.xml file so
in the beginning of my XML(magic.xml) I gave

<?XML VERSION="1.0"?>
<!DOCTYPE MAGIC SYSTEM "Magic.dtd">    

But, now when I run my HTML page which embeds the MSXML in the <APPLET> tag
the MSXML throws the following exception :- 
"Cannot find External DTD Magic.dtd"

(The Magic.dtd file is present and is the same direc. as magic.xml)

	Why is the MSXML not being able to access the external DTD (Magic.dtd)?

	Thanx in advance,

						Regards,
						AMIT
 

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS