mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-11-04 00:53:12 +03:00
3d435b25cf2e8112d87cb133c00b94d5924ec75c
The problem is that "@node()", "attribute::node()", "child::node()" and "node()" are all handled in different code paths and only the latter works. Then, I noticed that the handling of match="child::name" is wrong. It matches the parents of <name> elements although it should be treated exactly like match="name". So the whole XSLT_OP_CHILD stuff is unneeded. I also found that xsltScanName behaves a bit strange with regard to ':' characters. It doesn't parse an XML Name like the documentation says. It's better to use xsltScanNCName instead. Another minor issue is that the parser currently allows invalid expressions like match="element*" because of lines 1745-1747 in pattern.c in trunk. * libxslt/pattern.c: fix all those problems * tests/REC/Makefile.am tests/REC/test-5.2-19* tests/REC/test-5.2-20* tests/REC/test-5.2-21*: add test cases to the regression suite
XSLT support for libxml2 (XML toolkit from the GNOME project)
Full documentation is available on-line at
http://xmlsoft.org/XSLT/
This code is released under the MIT Licence see the Copyright file.
To report bugs, follow the instructions at:
http://xmlsoft.org/XSLT/bugs.html
A mailing-list xslt@gnome.org is available, to subscribe:
http://mail.gnome.org/mailman/listinfo/xslt
The list archive is at:
http://mail.gnome.org/archives/xslt/
All technical answers asked privately will be automatically answered on
the list and archived for public access unless pricacy is explicitely
required and justified.
Daniel Veillard
$Id$
Description
Languages
HTML
36.3%
XSLT
31%
C
28.2%
Python
1.2%
Makefile
0.8%
Other
2.4%