W3C home > Mailing lists > Public > public-html@w3.org > October 2009

Re: ISSUE-41/ACTION-97 decentralized-extensibility

From: Julian Reschke <julian.reschke@gmx.de>
Date: Thu, 01 Oct 2009 16:04:41 +0200
Message-ID: <4AC4B6F9.7040201@gmx.de>
To: Laurens Holst <laurens.nospam@grauw.nl>
CC: Jonas Sicking <jonas@sicking.cc>, Adrian Bateman <adrianba@microsoft.com>, HTML WG <public-html@w3.org>, Tony Ross <tross@microsoft.com>, Sam Ruby <rubys@intertwingly.net>
Laurens Holst wrote:
> Op 1-10-2009 11:13, Julian Reschke schreef:
>> No, that's an API problem. There are other APIs that use expanded 
>> names as identifiers.
> 
> Well correct me if Im wrong, but you have to use tuples. In XML 
> namespaces:
> 
> <asdf xmlns="http://example.org/">
> 
> is not identical to:
> 
> <df xmlns="http://example.org/as">

But you can use a notation which combines the tuple into a string, such 
as with the so-called Clark notation:

	{http://example.org/}asdf

> You can not simply concatenate the local name to the namespace. Although 

Nobody claimed that.

> you could join the strings with e.g. ## (because that is not a legal 
> part of an URI), but there is no such official standard supporting this 
> and thus you can only use it internally.

You don't need a standard, you need an agreement for senders and 
consumers. Several APIs use the Clark notation for that.

> ...

BR, Julian
Received on Thursday, 1 October 2009 14:05:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:08 UTC