Bug 10556

Summary: Support XLink in any XML document
Product: WebKit Reporter: Peter Hosey <boredzo>
Component: XMLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Enhancement CC: ahmad.saleem792, ap, bfulgham, illenberger, rniwa, webkit-bug-importer
Priority: P3 Keywords: InRadar
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.w3.org/TR/xlink/

Description Peter Hosey 2006-08-25 00:10:31 PDT
According to the Bugzilla search results for “xlink”, WebKit already seems to support XLink — but only in SVG documents. I propose that it should be allowed in any XML document; then, no munging to XHTML (e.g. with XSLT) would be required for an XML document with CSS stylesheet to be rendered as-is in WebKit.
Comment 1 Frank Illenberger 2008-02-07 09:13:35 PST
Currently it is not possible to get any hyperlinks in pure XML documents without mixing with XHTML because there are no CSS extensions like Opera's -o-link and no xlink support. This is a serious limitation.
Comment 2 Alexey Proskuryakov 2008-02-07 11:18:36 PST
Would it be possible for you to provide a simple test case for this?
Comment 3 Alexey Proskuryakov 2009-08-20 22:59:35 PDT
Bugzilla has experienced amnesia today, here is a comment that was lost:

--- Comment #3 from Thom <thom.venividivici+webkitbugs@gmail.com>  2009-08-20 12:34:53 PDT ---
http://www.snee.com/xml/xlink/sxlinkdemo.xml

is an xml document that's used to showcase mozilla's xLink support, which is
better, but also poor.
Comment 4 Radar WebKit Bug Importer 2022-07-06 15:27:20 PDT
<rdar://problem/96552385>
Comment 5 Ahmad Saleem 2022-07-10 11:28:57 PDT
Mozilla opted to not extend Xlink support beyond SVG and marked their bug as RESOLVED WONTFIX - https://bugzilla.mozilla.org/show_bug.cgi?id=xlink

Further, it is also deprecated in SVG2 - https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href

Can we close this, if we are not planning to extend XLINK. Thanks!
Comment 6 Brent Fulgham 2022-07-10 11:36:30 PDT
(In reply to Ahmad Saleem from comment #5)
> Mozilla opted to not extend Xlink support beyond SVG and marked their bug as
> RESOLVED WONTFIX - https://bugzilla.mozilla.org/show_bug.cgi?id=xlink
> 
> Further, it is also deprecated in SVG2 -
> https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href
> 
> Can we close this, if we are not planning to extend XLINK. Thanks!

Thanks for doing that research!

Yes, let’s close.