1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-04 00:53:12 +03:00
Nick Wellnhofer 3d435b25cf Big fixes of pattern compilations
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
2009-09-17 15:23:46 +02:00
2009-09-17 15:23:46 +02:00
2009-09-17 15:23:46 +02:00
2005-04-06 22:02:25 +00:00
2009-09-17 10:55:48 +02:00
2008-03-13 17:46:34 +00:00
2009-05-12 09:04:37 +02:00
2002-05-25 10:07:09 +00:00
2001-01-07 14:01:28 +00:00
2001-01-07 14:01:28 +00:00

     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
Процессор XSLT
Readme 9 MiB
Languages
HTML 36.3%
XSLT 31%
C 28.2%
Python 1.2%
Makefile 0.8%
Other 2.4%