Closed
Bug 257295
Opened 21 years ago
Closed 21 years ago
After client side XSL transform applied to XML document, links will not operate on click. Right-click open new window does work. Works in IE6.
Categories
(Core :: XSLT, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 256514
People
(Reporter: hmccanne, Assigned: peterv)
References
(
URL
)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a3) Gecko/20040819
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a3) Gecko/20040819
Given an XML file with an XSL transform applied on the client, the links fail to
work. Works in Moz 1.4, IE6. Works with "open link in new window".
XML File:(test.xml)
---------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<test>
<link>photolist.html</link>
<title>Test link</title>
</test>
----------------------------
XSL File:(test.xsl)
------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/test">
<html>
<body>
Link: <a>
<xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute>
<xsl:value-of select="title"/>
</a>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Reproducible: Always
Steps to Reproduce:
1. Save both files to local disk (Works via web server as well)
2. Open test.xml
3. Click "Test link"
Actual Results:
Nada. Hover does work.
Expected Results:
Gone to the requested page. (or provided file-not-found error after trying)
*** This bug has been marked as a duplicate of 256514 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•