| Index: third_party/libxml/src/relaxng.c
|
| diff --git a/third_party/libxml/src/relaxng.c b/third_party/libxml/src/relaxng.c
|
| index 8d88e9576fced23c8267aa66dcea8408b4d3eb4d..5779e7fc5f49e2b99c60f7ceb141ef1b79536825 100644
|
| --- a/third_party/libxml/src/relaxng.c
|
| +++ b/third_party/libxml/src/relaxng.c
|
| @@ -3819,7 +3819,11 @@ xmlRelaxNGCompareNameClasses(xmlRelaxNGDefinePtr def1,
|
| return (0);
|
| return (1);
|
| } else if (def1->type == XML_RELAXNG_EXCEPT) {
|
| - TODO ret = 0;
|
| + ret = xmlRelaxNGCompareNameClasses(def1->content, def2);
|
| + if (ret == 0)
|
| + ret = 1;
|
| + else if (ret == 1)
|
| + ret = 0;
|
| } else {
|
| TODO ret = 0;
|
| }
|
| @@ -9859,7 +9863,7 @@ xmlRelaxNGValidateState(xmlRelaxNGValidCtxtPtr ctxt,
|
| ctxt->depth++;
|
| switch (define->type) {
|
| case XML_RELAXNG_EMPTY:
|
| - node = xmlRelaxNGSkipIgnored(ctxt, node);
|
| + xmlRelaxNGSkipIgnored(ctxt, node);
|
| ret = 0;
|
| break;
|
| case XML_RELAXNG_NOT_ALLOWED:
|
|
|