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

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

From: Chris Lilley <chris@w3.org>
Date: Wed, 13 Nov 2002 12:28:42 +0100
Message-ID: <2363578250.20021113122842@w3.org>
To: www-svg@w3.org, Tobias Reif <tobiasreif@pinkjuice.com>

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 GMT

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