Re: Bug or Spec?

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