W3C home > Mailing lists > Public > www-svg@w3.org > August 2002

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

From: Tobias Reif <tobiasreif@pinkjuice.com>
Date: Sat, 17 Aug 2002 14:37:08 +0200
Message-ID: <3D5E4374.6060205@pinkjuice.com>
To: www-svg@w3.org
CC: alex.fritze@crocodile-clips.com, skeeter@nospamskeeter-s.com

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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:23 GMT