bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.



8 years ago
8 years ago


(Reporter: Laurent Fournier, Unassigned)


Firefox Tracking Flags

(Not tracked)





8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20091221 Minefield/3.7a1pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20091221 Minefield/3.7a1pre

The simple xlink on XML file works on FF3.5.X but it does not work anymore on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20091221 Minefield/3.7a1pre. The link is detected but not click-able.

Reproducible: Always

Steps to Reproduce:
Open this document.
(the css is just here to avoid a message from FF, but it does not impact the issue)

<?xml version="1.0" ?>
<?xml-stylesheet href="bug_xlink.css" type="text/css"?>
<doc xmlns="http://www.w3.org/1999/xlink">
<ref xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:actuate="onRequest" xlink:href="#ICI" xlink:title="link" >HERE</ref>
Actual Results:  
If the pointer is on the word HERE, it is a link, but not click is available.

Expected Results:  
a real link in XML !

Do not say XML link are not used. I use many XML files and I need to browse them using FF and a simple CSS. These files have link-references but I don't want to use the <a href...> HTML tags because they mean nothing for these applications.

Comment 1

8 years ago
Url has the testcase from comment 0
Is indeed a regression. It happened somewhere in October 2009.
On 24 Oct 2009. Could it be Bug 516906? :)
It is bug 516906 since that removed nsXMLElement::IsLink. I imagine this bug is invalid since that bug was an intentional change.
Last Resolved: 8 years ago
Resolution: --- → INVALID

Comment 6

8 years ago
I am very disappointed the support of nsXMLElement::IsLink has been removed by bug 516906. What is the solution to make a simple link with XML ?
Thanks for your help

Comment 8

8 years ago
Thanks to XBL that can insert the <xhtml:a> element dynamically without touching XML files !
So, if I understand well, I should not try to use XLink on FF as it is not planned to be supported soon.
Yup. Xlink at this point seems like a technology that simply isn't requested enough that it's worth our effort to support it. Similar to XForms and XHTML2.
You need to log in before you can comment on or make changes to this bug.