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

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

From: Jim Ley <jim@jibbering.com>
Date: Fri, 16 Aug 2002 11:28:06 -0000
Message-ID: <014e01c24518$028382e0$ca969dc3@emedia.co.uk>
To: <www-svg@w3.org>

"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 GMT

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