W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > March 2006

Re: GRDDL: meaning of "is associated with"

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Wed, 08 Mar 2006 16:00:07 +0100
To: "McBride, Brian" <brian.mcbride@hp.com>
Cc: public-rdf-in-xhtml-tf@w3.org
Message-Id: <1141830007.25925.45.camel@cumulustier>
Le mercredi 08 mars 2006 à 14:50 +0000, McBride, Brian a écrit :
> 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 means the namespace to which the element belongs. So, in the list of
tests below, only A and C are "yes".

> 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?

Dom

> [1] http://www.w3.org/2004/01/rdxh/spec#ns-bind
-- 
Dominique Hazaël-Massieux - http://www.w3.org/People/Dom/
W3C/ERCIM
mailto:dom@w3.org

Received on Wednesday, 8 March 2006 15:00:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:01 GMT