W3C home > Mailing lists > Public > www-svg@w3.org > August 2012

Re: How to parse SVG Fragment Identifiers

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 27 Aug 2012 16:56:03 +1000
Message-ID: <503B1A03.3050805@mcc.id.au>
To: Robert Longson <longsonr@gmail.com>
CC: www-svg@w3.org, Daniel Holbert <dholbert@mozilla.com>
Robert Longson:
> Daniel Holbert and I have come across a couple of issues when
> implementing http://www.w3.org/TR/SVG/linking.html#SVGFragmentIdentifiers
> in Firefox.
> Question 1. What is the syntax for AspectParams?
> Lets say you want to set preserveAspectRatio="xMinYMin slice"
> We have this sentence in the specification: "Spaces are not allowed in
> fragment specifications; thus, commas are used to separate numeric
> values within an SVG view specification"
> But that does not help us as we don't have any numeric values. Testing
> seems to indicate that Batik wants a comma to separate things but
> Opera wants one of those disallowed spaces and not a comma at all.
> FWIW we're currently in the Opera camp but are willing to change.

As Olaf pointed out, you can write %20 for a space (and in many 
situations e.g. in HTML you can actually just include a space in an <a 
href> attribute), so I think we should just continue requiring a space 
(after decoding of the fragment) and not allow a comma there.
Received on Monday, 27 August 2012 06:56:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:29 UTC