W3C home > Mailing lists > Public > www-svg@w3.org > July 2004

Re: Bug or Spec?

From: Robin Berjon <robin.berjon@expway.fr>
Date: Fri, 16 Jul 2004 18:02:51 +0200
Message-ID: <40F7FC2B.2010409@expway.fr>
To: James Bentley <James.Bentley@guideworkstv.com>
Cc: "'www-svg@w3.org'" <www-svg@w3.org>

James Bentley wrote:
> <text id="TBA">TBA</text>
> <g id="listing">
> 	...
> 	<text x="+146" dy="+25" fill="white"><tref
> xlink:href="#TBA"/></text>
> </g>
> 
> <use xlink:href="#listing" x="0" y="345"/>
> 
> Is this correct behavior, or is it a bug.  I was under the impression that
> the 'tref' element
> could stand alone.

The first line of tref in the spec is: "the textual content for a 'text' 
can be either character  data directly embedded within the 'text' 
element or the character  data content of a referenced element, where 
the referencing is  specified with a 'tref'  element."

>  Also, I don't recall any limitation on nesting
> references.

There aren't, but you can't be circular.

-- 
Robin Berjon
Received on Friday, 16 July 2004 12:03:06 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:54 UTC