Re: Thoughts on cleaning up SVG 1.1 for Second Edition

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 UTC