[SVG1.0] no tspan allowed inside an anchor?

Hi,

the content model of element a in SVG1.0 seems to be

<!ELEMENT a (#PCDATA|desc|title|metadata|defs|
   path|text|rect|circle|ellipse|line|polyline|polygon|
   use|image|svg|g|view|switch|a|altGlyphDef|
   script|style|symbol|marker|clipPath|mask|
   linearGradient|radialGradient|pattern|filter|cursor|font|
   animate|set|animateMotion|animateColor|animateTransform|
   color-profile|font-face
   )* >

Why is there no element tspan allowed as child of element a?

It would be helpful if stuff like

   <text>
     <a xlink:href="foo"><tspan>foo</tspan></a>
     <a xlink:href="bar"><tspan>bar</tspan></a>
   </text>

would be allowed, not only

     <a xlink:href="foo"><text>foo</text></a>
     <a xlink:href="bar"><text>bar</text></a>

Tobi

-- 
http://www.pinkjuice.com/

Received on Saturday, 17 August 2002 08:36:30 UTC