Re: [xml-dev] "Introducing MicroXML, Part 1: Explore the basic principles of ...

From
Uche Ogbuji <>
To
John Cowan <>
Date
2012-07-15T22:51:20Z
ID
<>
Thread
Re: [xml-dev] "Introducing MicroXML, Part 1: Explore the basic principles of ...
On Sun, Jul 15, 2012 at 2:48 PM, John Cowan <[email protected]> wrote:
> - allow PIs only before the root element (and perhaps only before the
> DOCTYPE if there is one), probably with the start-tag syntax
> restriction

How about placing them under, rather than adjacent to, the root element?
There is no real semantic distinction between one and the other, and
that would eliminate the need for a separate Document object in the model.


So syntactically they would, as James suggested, have to appear before the beginning of the root element, but they would be considered for data model purposes as an additional list on the root element object, and this generally reported after the attributes but before child content of the root element's start tag?


--
Uche Ogbuji                       http://uche.ogbuji.net
Weblog: http://copia.ogbuji.net
Poetry ed @TNB: http://www.thenervousbreakdown.com/author/uogbuji/
Founding Partner, Zepheira        http://zepheira.com
Linked-in: http://www.linkedin.com/in/ucheogbuji
Articles: http://uche.ogbuji.net/tech/publications/
Friendfeed: http://friendfeed.com/uche
Twitter: http://twitter.com/uogbuji
http://www.google.com/profiles/uche.ogbuji