Re: Subset Data Model

>
>
>> document[document element]
>>
>
> John has been trying to avoid a document node.
>

I hope we won't need one in our data model.  The only reason I included it
in the infoset profile is to provide the information about which element
information item is the root element.


> element[local name, prefix, children, attributes, namespace attributes]
>>
>
> John's draft supports prefixed attributes, but not elements, so I believe
> his version would be:
>
> element[local name, children, attributes, namespace attributes]
>

Yup.  I think there's a strong case for prefixed attributes. But if we
allow attribute names to be prefixed, it's not yet clear to me whether
allowing or disallowing prefixed element names makes things simpler.


> Some of the thorny issues of course lie in whether/how we would then
> augment this basis with added bits for syntactic transforms (e.g.
> HTML5-savvy output of empty elements).
>

I don't think there's anything MicroXML should do here.

James

Received on Tuesday, 14 August 2012 02:50:57 UTC