- From: Jack Jansen <Jack.Jansen@cwi.nl>
- Date: Thu, 6 May 2010 22:49:27 +0200
- To: "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>
- Cc: www-smil@w3.org, www-svg@w3.org
Olaf, from the SMIL Animation side of the picture escaping can be done with percent-encoding. But that leaves the question of when the SVG renderer will decode the percent escapes. The URI definition <http://tools.ietf.org/html/rfc3986#section-2.4> suggests that it is done after splitting the URL on delims and subdelims, so that would mean it would be too late. In SMIL there may be a workaround using SMIL State, but I don't think that's allowed in SVG. And, indeed, in SMIL the href attribute isn't animatable (but it may contain SMIL State {attribute value template} constructs). But in SMIL you could also break open the values animation into a sequence of <set> animations. On 6-May-2010, at 17:34 , Dr. Olaf Hoffmann wrote: > Hello www-smil and www-svg, > > within SVG documents so called SVG views are possible, for example > 'ex.svg#svgView(viewBox(0,0,200,200);preserveAspectRatio(none)))' > > (note the semicolon as separator...) > > see: > http://www.w3.org/TR/SVG11/linking.html#SVGFragmentIdentifiers > > Such a construction can for example appear as a value of the href > attribute from XLink within an a or image element (and it can appear > in similar constructions in the src attribute of SMIL media object > elements of course). > This href attribute is indicated to be animatable in SVG (not sure, if > the src attributes from media object elements in SMIL are animatable) > Therefore such constructions can appear within animation > values lists as well: > > values= > " > e1.svg#svgView(viewBox(0,0,200,200);preserveAspectRatio(none)); > e2.svg#svgView(viewBox(100,100,100,100);viewTarget(ID)); > e1.svg#svgView(viewBox(-100,-100,400,400);zoomAndPan(disable)); > e3.svg#svgView(transform(skewX(-10));viewBox(0,0,200,200);transform(rotate(37,100,100))); > e2.svg#svgView(viewTarget(ID)) > " > > I would like to know, whether this semicolon within the SVG view does create > a conflict with the values list separator or not? > I could not find any information about such a situation in SMIL 3 or SVG. > Is it mentioned somewhere? > If it conflicts, do authors have to mask such a semicolon within a list item > of a values list? > If yes - how? > > > > Olaf > > -- Jack Jansen, <Jack.Jansen@cwi.nl>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman
Received on Thursday, 6 May 2010 20:50:02 UTC