mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-09-20 01:21:38 +03:00
Fix counting of nodes with <xsl:number level="any"/> when the current node is a - comment - processing instruction - attribute - text node - namespace node The old code skipped the current node and preceding siblings for these node types. Thanks to Martin Honnen for the report. Fixes bug #769756: https://bugzilla.gnome.org/show_bug.cgi?id=769756
7 lines
139 B
XML
7 lines
139 B
XML
<?xml version="1.0"?>
|
|
<root xmlns:a="a" ns="a(1)">
|
|
<foo xmlns:a="b" ns="b(2)">
|
|
<bar xmlns:a="c" ns="c(3)"/>
|
|
</foo>
|
|
</root>
|