1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-24 06:50:08 +03:00

patch from Richard Jinks to fix the problem raised in

* xpath.c: patch from Richard Jinks to fix the problem raised in
  http://mail.gnome.org/archives/xml/2002-April/msg00246.htm
Daniel
This commit is contained in:
Daniel Veillard 2002-05-22 09:57:32 +00:00
parent 5a872413fd
commit 7c13af4d2d
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed May 22 11:57:49 CEST 2002 Daniel Veillard <daniel@veillard.com>
* xpath.c: patch from Richard Jinks to fix the problem raised in
http://mail.gnome.org/archives/xml/2002-April/msg00246.htm
Wed May 22 08:38:19 CEST 2002 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: a bit of work on import.

View File

@ -2268,10 +2268,12 @@ xmlSchemaParseImport(xmlSchemaParserCtxtPtr ctxt, xmlSchemaPtr schema,
}
}
}
TODO
child = node->children;
while (IS_SCHEMA(child, "annotation")) {
/*
* the annotations here are simply discarded ...
*/
child = child->next;
}
if (child != NULL) {

View File

@ -8100,6 +8100,7 @@ xmlXPathCompNodeTest(xmlXPathParserContextPtr ctxt, xmlXPathTestVal *test,
if (CUR != ')') {
name = xmlXPathParseLiteral(ctxt);
CHECK_ERROR 0;
*type = NODE_TEST_PI;
SKIP_BLANKS;
}
}