Re: XML Query WG Feedback on Sept WD of Namespaces in XML 1.1

Richard Tobin wrote:

>Please could you clarify what you mean by the first part of your
>comment 5:
>
>   5. The namespace spec should say how namespace declarations should map
>   onto the Infoset. It should distinguish the syntactic form from the
>   information content in sentences like the following:
>
>       [Definition: A namespace is declared using a family of
>       reserved attributes. Such an attribute's name must either
>       be xmlns or have xmlns: as a prefix. These attributes,
>       like any other XML attributes, may be provided directly or
>       by default. ]
>
>Are you saying that that definition should be expressed in Infoset
>terms?  Or that the namespaces spec should describe the effect on the
>Infoset of namespace declarations?  Or something else?

Either of those approaches would work. What really matters is this: when 
you use the word 'attribute' above, one might expect to find such 
attributes in the [attributes] property of the corresponding element in the 
InfoSet, and it is a surprise that it is not there. I think it is worth 
noting the content of the following paragraph from the Infoset:

>There is an attribute information item for each attribute (specified or 
>defaulted) of each element in the document, including those which are 
>namespace declarations. The latter however appear as members of an 
>element's [namespace attributes] property rather than its [attributes] 
>property.

Thanks,

Jonathan

Received on Thursday, 17 October 2002 09:20:13 UTC