[Webkit-unassigned] [Bug 89279] New: xslt forwards compatible mode does not work
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jun 16 02:21:22 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89279
Summary: xslt forwards compatible mode does not work
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://greenbytes.de/tech/tc/xslt/#ft-xsl-function
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: XML
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: julian.reschke at gmx.de
The stylesheet below:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:test="#tes
t"
xmlns:tc="mailto:julian.reschke at greenbytes.de?subject=xslt"
version="2.0">
<xsl:output method="html" encoding="iso-8859-1" version="4.0"
doctype-public="-//W3C//DTD HTML 4.01//EN"
indent="no"/>
<xsl:template match="/">
<html>
<head>
<title>xsl:function</title>
</head>
<body>
<xsl:choose>
<xsl:when test="function-available('test:test')">
<p>
Result: <xsl:value-of select="test:test()"/>
</p>
</xsl:when>
<xsl:otherwise>
<p>
<tt>xsl:function</tt> not supported, but properly handled
(ignored)</p>
</xsl:otherwise>
</xsl:choose>
</body>
</html>
</xsl:template>
<xsl:function name="test:test">YES</xsl:function>
</xsl:transform>
should either result in "YES", or in "xsl:function not supported, but properly
handled (ignored)". Instead, it aborts with:
compilation error: file ... line 30 element function
(see also https://bugzilla.gnome.org/show_bug.cgi?id=677901)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list