W3C home > Mailing lists > Public > www-svg@w3.org > February 2003

17.2.2 SVG fragment identifiers

From: Steve Schafer <steve@fenestra.com>
Date: Sun, 02 Feb 2003 23:54:09 -0500
To: www-svg@w3.org
Message-ID: <ovsr3v0e0gak99an7gj5ik83tr61flagtp@4ax.com>

The description of SVG fragment identifiers notes the following:

"Spaces are not allowed in fragment specifications; thus, commas are
used to separate numeric values within an SVG view specification..."

Two comments/questions:

1) While it is true that spaces are not allowed, spaces can certainly be
escaped:

 viewBox(0 0 200 200) --> #svgView(viewBox(0%200%20200%20200))

resulting in a perfectly valid URI.

2) The preserveAspectRatio attribute _requires_ that the <defer>,
<align> and <meet-or-slice> portions be separated by whitespace. Thus,
we either have to allow whitespace to be escaped as above, or allow
commas or other delimiters in lieu of whitespace:

 #svgView(preserveAspectRatio(xMidYMid%20meet))

or

 #svgView(preserveAspectRatio(xMidYMid,meet))

Steve Schafer
Fenestra Technologies Corp
http://www.fenestra.com
Received on Sunday, 2 February 2003 23:54:19 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:24 GMT