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

Re: SVG1.1 xlink: can xlink only be used with anchor element?

From: Rick <graham.rick@gmail.com>
Date: Fri, 14 Aug 2009 07:01:45 -0400
Message-ID: <18569e000908140401u7be8f645ie85836ce1e05bb69@mail.gmail.com>
To: ~:'' ありがとうございました <j.chetwynd@btinternet.com>
Cc: www-svg <www-svg@w3.org>
2009/8/13 "~:'' ありがとうございました" <j.chetwynd@btinternet.com>:
> SVG1.1 xlink: can xlink only be used with anchor element?
>
> the xlink specification appears to indicate that xlink can be used with any
> xml element [1]
>
> The SVG 1.1 specification mentions xlink in "URI reference attributes"
> section[2]
> which may suggest but does not direct that xlink may only be used with
> anchors.

Is it useful to point out that 'a' is a container element?

Without content, 'a' can mark a position in an HTML document, but it
has no meaning in SVG.  It acts on its dependents to provide xlink
semantics.

>
> one proposed use case is: onEvent script is used to import data using
> xmlhttprequest
>
> for this purpose title is (may?) not appropriate,
> ie similar issue to alt and title in html,
> one describes image, other describes linked resource.
>
> regards
>
> Jonathan Chetwynd
>
> bugs filed:
>        https://bugs.webkit.org/show_bug.cgi?id=16742
>        bug-350667@bugs.opera.com
>
>
> [1]     http://www.w3.org/TR/xlink/#markup-reqs
>
> [2]     http://www.w3.org/TR/SVG11/struct.html#XLinkTitleAttribute
>
>
>
>



-- 
Cheers!
Rick
Received on Friday, 14 August 2009 11:02:31 GMT

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