mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +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:
@ -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>
|
Wed May 22 08:38:19 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* xmlschemas.c: a bit of work on import.
|
* xmlschemas.c: a bit of work on import.
|
||||||
|
@ -2268,10 +2268,12 @@ xmlSchemaParseImport(xmlSchemaParserCtxtPtr ctxt, xmlSchemaPtr schema,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TODO
|
|
||||||
|
|
||||||
child = node->children;
|
child = node->children;
|
||||||
while (IS_SCHEMA(child, "annotation")) {
|
while (IS_SCHEMA(child, "annotation")) {
|
||||||
|
/*
|
||||||
|
* the annotations here are simply discarded ...
|
||||||
|
*/
|
||||||
child = child->next;
|
child = child->next;
|
||||||
}
|
}
|
||||||
if (child != NULL) {
|
if (child != NULL) {
|
||||||
|
1
xpath.c
1
xpath.c
@ -8100,6 +8100,7 @@ xmlXPathCompNodeTest(xmlXPathParserContextPtr ctxt, xmlXPathTestVal *test,
|
|||||||
if (CUR != ')') {
|
if (CUR != ')') {
|
||||||
name = xmlXPathParseLiteral(ctxt);
|
name = xmlXPathParseLiteral(ctxt);
|
||||||
CHECK_ERROR 0;
|
CHECK_ERROR 0;
|
||||||
|
*type = NODE_TEST_PI;
|
||||||
SKIP_BLANKS;
|
SKIP_BLANKS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user