W3C home > Mailing lists > Public > public-swbp-wg@w3.org > January 2006

Re: [ALL] xml:base and URIs with hashes

From: Jeremy Carroll <jjc@hpl.hp.com>
Date: Mon, 23 Jan 2006 08:36:27 +0000
Message-ID: <43D4958B.3020408@hpl.hp.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: "Miles, AJ (Alistair)" <A.J.Miles@rl.ac.uk>, public-swbp-wg@w3.org, semantic-web@w3.org

Bjoern Hoehrmann wrote:
> * Miles, AJ (Alistair) wrote:
>> I remember vaguely Jeremy Carroll saying that hashes are actually
>> allowed in fragment ids ... is this right or wrong?
> 
> You have to %xx-escape them, http://example.org/## is not allowed.

I may have said that; but if I did I was wrong.
In a URI or IRI only a single # is allowed and it separates the main URI 
from the fragment.

Personally, I prefer omitting any # and fragment, from an xml:base 
because it is simply confusing.

Jeremy
Received on Monday, 23 January 2006 08:36:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:31:16 UTC