XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] SAX - not well formed data

> > It's not clear from that description why it isn't well-formed.
> 
> 
> The root element has an illegal name. 

The name <xml> isn't illegal, it is reserved for future standardization.
That is, the syntax is allowed (the document is well-formed, and all parsers
will accept it) but the semantics could give you trouble in the future.

It emerged that the well-formedness error lay in the meaning of the ellipsis
"...", which I assumed meant "and more well-formed content which I am
omitting for reasons of space" but which actually meant "and the document
ends abruptly here".

Michael Kay
http://www.saxonica.com/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS