[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Michael Kay" <mike@s...>
  • To: "'Manos Batsis'" <manos_lists@g...>,"'XML Developers List'" <xml-dev@l...>
  • Date: Wed, 4 Feb 2009 10:00:09 -0000

> > 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member