W3C home > Mailing lists > Public > public-svg-wg@w3.org > January to March 2009

Re: Thoughts on cleaning up SVG 1.1 for Second Edition

From: Erik Dahlström <ed@opera.com>
Date: Tue, 31 Mar 2009 16:36:51 +0200
To: "Cameron McCormack" <cam@mcc.id.au>, public-svg-wg@w3.org
Message-ID: <op.urnuvpthgqiacl@gnorps.linkoping.osa>
On Tue, 31 Mar 2009 00:43:56 +0200, Cameron McCormack <cam@mcc.id.au> wrote:

> Chris Lilley:
>> These are much nicer. What do you start from, RNG?
>
> No, as mentioned in the telcon, I list explicitly in the master/ file
> what attributes/elements the element can have.  For example:
>
>   <edit:elementsummary
>     name='g'
>     categories='structural'
>     contentmodel='anyof'
>     contentmodelcategories='animation, descriptive, shape, structural,
>       text, gradient'
>     contentmodelelements='a, clipPath, color-profile, cursor, filter,
>       font, image, marker, mask, pattern, script, style, switch, view'
>     attributecategories='conditional, core, graphical event, presentation, style'
>     attributes='externalResourcesRequired, transform'
>     interfaces='SVGGElement'/>

Could the @categories, @contentmodel etc be generated from the RNG automatically, so that it might be enough to just put <edit:elementsummary name="g"/> in master?

Cheers
/Erik

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed
Received on Tuesday, 31 March 2009 14:39:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 31 March 2009 14:39:41 GMT