W3C home > Mailing lists > Public > uri@w3.org > July 2013

Re: Fragment identifiers in data URIs

From: Julian Reschke <julian.reschke@gmx.de>
Date: Thu, 18 Jul 2013 16:35:34 +0200
Message-ID: <51E7FD36.5060802@gmx.de>
To: Manuel Strehl <svg@manuel-strehl.de>
CC: uri@w3.org
On 2013-07-18 16:19, Manuel Strehl wrote:
> Hello,
>
> I tried to find documentation about fragment identifiers for data URIs,
> but haven't discovered any so far. RFC 2397 seems to be quiet about the
> very possibility to have such identifiers. It's only noting, that "data"
> is specified as "uric" from 2396 (which happens to exclude "#").
> Therefore it seems, the behavior of this is undefined:
>
>
> data:<h1>%20id=%22FOO%22>ABC</h1>#FOO

No, it's not undefined. But yes, RFC 2397 really needs an update to 
align it with RFC 3986.

> I tested Firefox and Chrome, and both react differently, Firefox cutting
> off the data: URI at the hash, Chrome just outputting it and the the rest.

That's a bug in Chrome. See 
<https://code.google.com/p/chromium/issues/detail?id=123004>.

 > ...

Best regards, Julian
Received on Thursday, 18 July 2013 14:36:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:16 UTC