This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10965 - Refer to SVG Integration spec for element and attribute names
Summary: Refer to SVG Integration spec for element and attribute names
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-02 03:18 UTC by Doug Schepers
Modified: 2010-10-07 21:28 UTC (History)
5 users (show)

See Also:


Attachments

Description Doug Schepers 2010-10-02 03:18:04 UTC
The HTML5 spec, section 8.2.5.1 Creating and inserting elements, contains a list of SVG attribute names in the section of the algorithm to "adjust SVG attributes" for case-sensitivity.
http://dev.w3.org/html5/spec/tokenization.html#creating-and-inserting-elements

This list does not contain attribute names from SVG Tiny 1.2, nor will it contain the attribute names which will be defined in SVG 2.  This seems to inadvertently amount to a whitelist of allowed SVG elements and attributes. 

Please replace this list with a reference to the SVG Integration document, which will be updated continually to contain the full, current list of SVG elements, attributes, and properties.  The editor's draft is located here:
http://dev.w3.org/SVG/modules/integration/SVGIntegration.html

We will be publishing this spec as a WD shortly.  Please let us know what changes you will need to the SVG Integration spec to make it suitable for the "adjust SVG attributes" section.
Comment 1 Ian 'Hixie' Hickson 2010-10-07 21:28:53 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale:

This was discussed before, and the conclusion I had drawn at the time was that it was better for implementors to keep the HTML spec up to date than to refer to another spec that was kept up to date. There is a huge advantage to having all of the HTML parsing rules defined in one place: it makes implementing the parser simply an exercise of walking down the spec and implementing it. For the same reason, the HTML spec integrates the MathML named character references rather than deferring to them elsewhere.

However, I would be happy to make the HTML spec be automatically generated from a file that lists the mapping. This is what we do for the aforementioned MathML named character references. The simplest thing to do there would be to have a text file somewhere that is just a list of attribute names, one to a line, in their canonical SVG case. I can then write a trivial script to turn that into the table in the spec. Given how often the HTML spec is updated, this would have a very fast turn-around time, and would not need any formal interaction to keep the list up to date.

If you would like to do that, please reopen the bug and provide the URL to such a file.