W3C home > Mailing lists > Public > www-archive@w3.org > July 2007

dup definition of xml:space in flat DTDs for SVG 1.1 and XHTML+MathML+SVG

From: olivier Thereaux <ot@w3.org>
Date: Wed, 18 Jul 2007 16:24:31 +0900
Message-Id: <3D5B83C3-66BC-425A-A9E9-C1DB80E85204@w3.org>
Cc: www-archive@w3.org
To: Chris Lilley <chris@w3.org>, Shane McCarron <shane@aptest.com>

Hi Shane, Hi Chris.

A couple of months ago I raised the question of fixing a little issue  
with the flattened DTDs of SVG 1.1 and XHTML+MathML+SVG.
The problem is that the xml:space is defined twice, once as:
<!ENTITY % SVG.space.attrib
     "xml:space ( default | preserve ) #IMPLIED"
 >
and once for the style element:
<!ENTITY % SVG.style.attlist "INCLUDE" >
<![%SVG.style.attlist;[
<!ATTLIST %SVG.style.qname;
     xml:space ( preserve ) #FIXED 'preserve'
     %SVG.Core.attrib;
     type %ContentType.datatype; #REQUIRED
     media %MediaDesc.datatype; #IMPLIED
     title %Text.datatype; #IMPLIED
 >
<!-- end of SVG.style.attlist -->]]>

<!-- end of svg-style.mod -->
]]>
(the above is for SVG 1.1. Same goes for XHTML+MathML+SVG, probably  
because the latter was built from the former)

Context:
http://lists.w3.org/Archives/Public/www-html-editor/2007AprJun/0010.html

At the time, Chris said that the SVG WG would look into it, and I  
recall Shane saying that this was on his radar too. This is why I am  
bothering you again with it today.
Has it been fixed on your end? Even if it is in an editor's draft or  
an errata-to-be, I'd be interested, because I want to fix the issue  
in the sgml-lib of the validator, to be re-released really soon now  
(TM).

If it hasn't been fixed on your end, I'd be really grateful if you  
could advise what the proper solution is. I believe that the second  
definition (the one for the style element) should go, since xml:space  
is already defined in the core attributes, but I don't really know  
enough to make an informed decision, and would not want to mess up  
the sgml-lib by mistake.

Many thanks.
-- 
olivier
Received on Wednesday, 18 July 2007 07:24:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:18:07 GMT