Re: svg textLength issue (and a little thing about use...)

"Dean Jackson" <dean@w3.org>
> > The other is a little thing about use:
> >
> > http://www.w3.org/TR/SVG/struct.html#UseElement
> > | When a 'use' references another element which is another
> > | 'use' or whose content contains a 'use' element, then the
> > | deep cloning approach described above is recursive.
> >
> > I believe it should be made explicit what should be done in the
situation
> > where a 'use' element, references a 'use' element which refers back
to
> > the original one. ( http://jibbering.com/2002/8/use.test.svg ) as
reading
> > it currently a conforming UA should keep on recursing forever... (and
> > Batik does!)
>
> We added wording to SVG 1.1 which describes that this in error.
> Basically as soon as the UA notices a self-reference (or reference
> loop) it goes into error - stops rendering.

Do you have a link?
http://www.w3.org/TR/SVG11/struct.html#UseElement
Is the document I actually quoted from.

I'm also having vague thoughts on a problem with the contents of the use
element not being available to the UA's DOM when the ref'd element is in
an external file - the problem being that if the ref'd element contained
text, the DOM would not have access to that text anywhere. (UAAG 6.1/6.2)
(and of course the related problem demoed in
http://jibbering.com/svg-chump/2002/08/15/  - the Llamas )

Jim.

Received on Friday, 16 August 2002 07:31:37 UTC