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

ISSUE-2264 (style-element-langspace): SVGStyleElement should inherit from SVGLangSpace [SVG Full 1.1]

From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Tue, 14 Apr 2009 07:06:37 +0000 (GMT)
To: public-svg-wg@w3.org
Message-Id: <20090414070637.412B76B62C@tibor.w3.org>

ISSUE-2264 (style-element-langspace): SVGStyleElement should inherit from SVGLangSpace [SVG Full 1.1]

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

Raised by: Cameron McCormack
On product: SVG Full 1.1

The <style> element is defined to allow the core attributes, though the use of the SVG.Core.attrib DTD entity.  The core attributes include id, xml:space, xml:lang and xml:base.  The <style> element DTD also explicitly includes xml:space in its attribute list again, so that it can set it to #FIXED 'preserve'.

The SVGStyleElement interface has an attribute xmlspace, to allow access to the xml:space attribute, but it doesn't have one for xml:lang, even though xml:lang is supported on the element.  To fix this, the xmlspace attribute should be dropped from SVGStyleElement, and then SVGStyleElement should inherit from SVGLangSpace to gain xmlspace and xmllang from there.
Received on Tuesday, 14 April 2009 07:06:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 14 April 2009 07:06:47 GMT