mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-08 21:42:07 +03:00
Set correct XSLT instruction when evaluating predicates in patterns. This is needed by functions like element-available. Could also lead to a NULL pointer dereference. Thanks to Wang Junjie for the report. Fixes bug #776792: https://bugzilla.gnome.org/show_bug.cgi?id=776792
6 lines
241 B
XML
6 lines
241 B
XML
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|
<template xmlns="http://www.w3.org/1999/XSL/Transform" match="*[element-available('apply-templates')]">
|
|
<text>found</text>
|
|
</template>
|
|
</xsl:stylesheet>
|