W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2001

WD-query-semantics-20010607: 4.4: Ed. Note: MF: (08-May-2001)

From: james anderson <james.anderson@setf.de>
Date: Wed, 13 Jun 2001 17:54:23 +0200
Message-ID: <3B278CAA.AA27E3E1@setf.de>
To: www-ql@w3.org, www-xml-query-comments@w3.org

The draft notes the need to recognize namespace prefix bindings in
element constructors.

   Ed. Note: MF: (08-May-2001) The above rules do not handle namespace
   attributes in element constructors, e.g.,
     <foo:bar xmlns:foo="http://www.foo.com/foo.xsd">.
   These need to be added. In mapping from XQuery to core, all namespace
   attributes should occur before other attributes.

Whereas prefix bindings also affect the resolution of the element tag
name,  there's no reason to restrict the order of the attributes
themselves. Since the environment has to be extended before the element
name itself can be resolved, all attributes could well be examined. The
case might be made for an artificial stop at the point where the first
non-namespace attribute occurs, but it would entail a loss of xml-names compatibility.

Beyond this fine point, I ask whether this issue arises as a consequence
of a goal of compatibility with XML+names encoding, or because there is
some need for name resolution in the constructor?

What approach is being considered to the issue of drawing namespace
bindings from default attribute declarations?

...
Received on Wednesday, 13 June 2001 11:50:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:17 GMT