1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

- catalog.c: handling of CATALOG entries. detection of recursion,

and a few bugfixes
- xpath.c: fixing bug #54951 QNAME with no prefix should not match
  against the default namespace
Daniel
This commit is contained in:
Daniel Veillard
2001-05-21 14:11:26 +00:00
parent 04b93290b7
commit af86c7f463
3 changed files with 74 additions and 20 deletions

View File

@ -7348,8 +7348,7 @@ xmlXPathNodeCollectAndTest(xmlXPathParserContextPtr ctxt,
case XML_ELEMENT_NODE:
if (xmlStrEqual(name, cur->name)) {
if (prefix == NULL) {
if ((cur->ns == NULL) ||
(cur->ns->prefix == NULL)) {
if (cur->ns == NULL) {
#ifdef DEBUG_STEP
n++;
#endif