ISSUE-2265 (declarative-parameter-use): Consider adding a parameter referencing and defaulting mechanism [Module: Integration]

ISSUE-2265 (declarative-parameter-use): Consider adding a parameter referencing and defaulting mechanism [Module: Integration]

http://www.w3.org/Graphics/SVG/WG/track/issues/2265

Raised by: Doug Schepers
On product: Module: Integration

Currently, you can pass parameters to an SVG file, but you can't access or use those parameters without script. For some scenarios, like use in an <img>, this means they can't be used at all.  Having a declarative mechanism to use parameters would be useful.

I wrote up some thoughts and made a prototype implementation in script:
 http://www.schepers.cc/w3c/svg/params/ref.html 

Although this definitely touches on functionality that's most useful in the embedding scenario, I'm ambivalent about putting a new feature into the integration spec.  We could make a maybe a dedicated <ref> spec, or put something like this into SVG 2.0... but that involves extra time and overhead, and if we are ultimately going to put both modules into SVG 2.0 anyway, I thought it might make sense to define it in SVG Integration.  I can't think of where else it might fit, other than SVG 2.0 itself.

Received on Tuesday, 14 April 2009 10:57:44 UTC