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

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 UTC