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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Non-validating parser, non-existing DTD, undefined entity and error repo

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: Non-validating parser, non-existing DTD, undefined entity and error reporting
  • From: heikki@netscape.com (Heikki Toivonen)
  • Date: Fri, 25 Jan 2002 10:21:20 -0800
  • User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2

What should a non-validating XML parser report in the below cases:

1)

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE test SYSTEM "notexist.dtd">
<test>a&foo;b</test>


2)

<?xml version="1.0" standalone="no"?>
<!DOCTYPE test SYSTEM "notexist.dtd">
<test>a&foo;b</test>


Should it report that the notexist.dtd could not be loaded, or that 
entity foo is undefined, or totally ignore any errors?

-- 
  Heikki Toivonen






 

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

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