diff options
Diffstat (limited to 'schematron.c')
-rw-r--r-- | schematron.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/schematron.c b/schematron.c index 81f4704..03fa357 100644 --- a/schematron.c +++ b/schematron.c @@ -1691,7 +1691,7 @@ xmlSchematronValidateDoc(xmlSchematronValidCtxtPtr ctxt, xmlDocPtr instance) if (xmlPatternMatch(rule->pattern, cur) == 1) { test = rule->tests; while (test != NULL) { - xmlSchematronRunTest(ctxt, test, instance, cur, rule->pattern); + xmlSchematronRunTest(ctxt, test, instance, cur, (xmlSchematronPatternPtr)rule->pattern); test = test->next; } } |