From:
[email protected]
Package: sablotron
Version: 1.0-1
Severity: normal
The XSLT 1.0 specifications say:
12.2 Keys
[...]
It is an error for the value of either the use attribute or the
match attribute to contain a VariableReference.
But Sablotron doesn't detect this error. For instance, consider:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform">
<xsl:param name="var"/>
<xsl:key name="key" match="*[@id != $var]" use="''"/>
</xsl:stylesheet>
$ sabcmd var-in-xslkey.xsl var-in-xslkey.xsl
<?xml version="1.0" encoding="UTF-8"?>
$
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (900, 'testing'), (200, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.7-powerpc
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1
Versions of packages sablotron depends on:
ii libsablot0c102 1.0-1 an XSL processor fully implemented
-- no debconf information
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)