Re: [xml-dev] "Introducing MicroXML, Part 1: Explore the basicprinciples of ...
> - 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?