W3C home > Mailing lists > Public > xml-names-editor@w3.org > October 2002

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

From: Jonathan Robie <jonathan.robie@datadirect-technologies.com>
Date: Thu, 17 Oct 2002 09:19:32 -0400
Message-Id: <5.1.0.14.0.20021017091414.0564a6a0@mail.verizon.net>
To: w3c-xml-query-wg@w3.org, xml-names-editor@w3.org

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:56:48 UTC