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

Re: Consensus on alternate prefixing mechanism

From: Shane McCarron <shane@aptest.com>
Date: Fri, 01 May 2009 08:34:14 -0500
Message-ID: <49FAFA56.9050802@aptest.com>
To: Ivan Herman <ivan@w3.org>
CC: Martin McEvoy <martin@weborganics.co.uk>, Manu Sporny <msporny@digitalbazaar.com>, RDFa <public-rdf-in-xhtml-tf@w3.org>
Exactly - thanks for clarifying Ivan.

Ivan Herman wrote:
> Martin McEvoy wrote:
>   
>>> We need to define a rule if we are permitting both.  Would it be silly
>>> to mix them?  Of course it would.  In my opinion, the rule MUST be
>>> that xmlns: takes precedence.
>>>       
>> should it? how about if the xmlns:foo="http://bar.com/" was set in the
>> html tag of the document and later somewhere in the content someone used
>> @prefix="foo=http://foo.com/"  would xmlns take precedence then?
>>
>>     
>
> I think what Shane meant (at least that is how I understood it) is that
> @xmlns takes precedence if @xmlns and @prefix appear _on the same node_.
> Otherwise the usual rules apply. Ie, to answer to your question: no, the
> @prefix would hold in that case.
>
> Ivan
>
>   

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Friday, 1 May 2009 13:34:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 1 May 2009 13:34:59 GMT