GRDDL: meaning of "is associated with"

The GRDDL spec states [1]

[[
if
 o the root element of an XML document ?XD is associated with a
namespace name ?NS, and
 o ?NS identifies a document whose meaning includes the RDF statement {
?NS
    <http://www.w3.org/2003/g/data-view#namespaceTransformation> ?TX }
then ?TX is a transformation that preserves the meaning of ?XD.
]]

What does "... is associated with ..." mean?  It might mean that there
is a namespace declaration on the root element in which case the
following test cases would yield:

In which of the following cases does is there an association between the
namespace name "http://example.org/ns#" and the element <root>:

A) <root xmlns="http://example.org/ns#" />
Yes
B) <root xmlns:ns="http://example.org/ns#" />
Yes
C) <ns:root xmlns:ns="http://example.org/ns#" />
Yes
D) <root xmlns:ns="http://example.org/ns#" ns:attr="foo" />
Yes
E) <root attr="http://example.org/ns#" />
No
F) <root>http://example.org/ns#</root>
No
G) <root>
     <child xmlns="http://example.org/ns#" />
   </root>
No

Are there any other ways that that <root> element can be "associated
with" a namespace name?

Brian


[1] http://www.w3.org/2004/01/rdxh/spec#ns-bind

Received on Wednesday, 8 March 2006 14:50:24 UTC