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

Hello Tobi, www-svg,

You wrote
http://lists.w3.org/Archives/Public/www-svg/2002Aug/0032.html

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

This generated a large and at times tangential discussion. It was
pointed out that if tspan was allowed, one could have things like

<svg>
  <a>
    <tspan dx="" dy="">stuff</tspan>
  </a>
</svg>

One thing that was not mentioned though is that schema languages such
as RelaxNG and W3C XML Schema allow this situation to be resolved
because they can express content models like

"when an a element is a child of a text element, its content model
includes tspan"

So, should be better in SVG 1.2

-- 
 Chris                          mailto:chris@w3.org

Received on Wednesday, 13 November 2002 06:28:43 UTC