Simple XML conformance

David Brownell david-b at pacbell.net
Mon Jan 17 23:45:21 GMT 2000


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 at 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.





More information about the Xml-dev mailing list