W3C home > Mailing lists > Public > www-rdf-interest@w3.org > March 2001

Re: Attributes and Namespaces.

From: Aaron Swartz <aswartz@swartzfam.com>
Date: Wed, 28 Mar 2001 23:10:20 -0600
To: "Hart, Lewis" <lhart@grci.com>, RDF Interest <www-rdf-interest@w3.org>
Message-ID: <B6E81FDB.7C86%aswartz@swartzfam.com>
Hart, Lewis <lhart@grci.com> wrote:

> The XML Namespace specification states that "default namespaces do not apply
> directly to attributes". What does that mean? Does it mean that this:
> 
> <rdf:Description about="http://www.w3.org">
>     <Publisher>World Wide Web Consortium</Publisher>
>     <Title>W3C Home Page</Title>
>     <Date>1998-10-03T02:27</Date>
>   </rdf:Description>
> 
> is NOT equivalent to this:
> 
> <rdf:Description about="http://www.w3.org">
>        Publisher="World Wide Web Consortium"
>        Title="W3C Home Page"
>        Date="1998-10-03T02:27"/>

Yes, it does. In the second example, no triples should result.

> If not, why not?

I don't know the exact reasoning, but I've gathered that there were
applications that required this to work this way. Perhaps someone with more
history than I can explain what those were.

-- 
[ Aaron Swartz | me@aaronsw.com | http://www.aaronsw.com ]
Received on Thursday, 29 March 2001 00:10:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:48 GMT