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

Fragment identifiers in data URIs

From: Manuel Strehl <svg@manuel-strehl.de>
Date: Thu, 18 Jul 2013 16:19:45 +0200 (CEST)
Message-ID: <49175.>
To: uri@w3.org


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:
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

A normative rule would be great. One use case: SVG
filters embedded in CSS stylesheets. CSS filters can be used like this:
    filter: url(svg-url#element-id);
But we cannot address them, when the SVG is embedded as data URI:
Received on Thursday, 18 July 2013 14:20:08 UTC

This archive was generated by hypermail 2.4.0 : Sunday, 10 October 2021 22:17:56 UTC