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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Simple XML conformance

[ Lists Home | Date Index | Thread Index ]
  • From: David Brownell <david-b@pacbell.net>
  • To: John Cowan <cowan@locke.ccil.org>
  • Date: Mon, 17 Jan 2000 15:45:07 -0800

John Cowan wrote:
> 
> Peter Murray-Rust scripsit:
> 
> >       - tool threw a fatal error because <!DOCTYPE was missing
> 
> The XML Rec does not forbid a parser to treat validation errors as fatal.

But -- a missing DTD isn't a validation error.  No validity
constraint says "there must be a DTD".

The validation errors start coming in when the content uses
names that aren't declared ... first one will be the root element.

It's not that subtle a point; the syntax is optional, but if you
don't use it you will certainly run into validity errors.

- Dave

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/ or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.






 

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

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