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:
--
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
> - allow PIs only before the root element (and perhaps only before theHow about placing them under, rather than adjacent to, the root element?
> DOCTYPE if there is one), probably with the start-tag syntax
> restriction
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