Re: Thoughts on cleaning up SVG 1.1 for Second Edition

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'/>

I’ve checked in the XSLT:

  http://dev.w3.org/SVG/tools/publish.xsl

and the updated source for the Structure chapter:

  http://dev.w3.org/cvsweb/~checkout~/SVG/profiles/1.1F2/master/struct.html?rev=1.2&content-type=text/plain

in case you are curious.  If you want to build that chapter, you can run
“make” from the master/ directory, as long as you have Saxon-B 9 installed
(as saxonb-xslt).

Those names listed in the contentmodelcategories="" and
attributecategories="" attributes are defined here:

  http://dev.w3.org/SVG/profiles/1.1F2/master/definitions.xml

which is as yet incomplete.

Note also that I switched to using an XML file for the IDD, rather than
the format used in 1.2T:

  http://dev.w3.org/SVG/profiles/1.1F2/master/svg.idd

This is the output of converting the IDL to an XML representation (with
unreadable formatting), using my IDL parser:

  http://dev.w3.org/SVG/profiles/1.1F2/master/svg.idlx

Eventually that file won’t be in the repository, and will be generated
automatically.

> > Not sure what to do with the DTD fragment in
> > http://mcc.id.au/temp/struct.html#xlinkRefAttrs since the prose talks
> > about the entities.  Maybe we could just remove that paragraph too.
> 
> Having looked at it, the entities are merely of relevance to how the
> DTD is constructed and do not affact actual content, so i think they
> should be removed.

OK.

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Monday, 30 March 2009 22:44:33 UTC