Re: Consensus on alternate prefixing mechanism

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

-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Friday, 1 May 2009 13:23:23 UTC