mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-27 18:50:07 +03:00
schematron: Use logical and
This commit is contained in:
parent
4f0a0fb7a2
commit
ae8a12f175
@ -1586,8 +1586,8 @@ xmlSchematronReportSuccess(xmlSchematronValidCtxtPtr ctxt,
|
||||
long line;
|
||||
const xmlChar *report = NULL;
|
||||
|
||||
if (((test->type == XML_SCHEMATRON_REPORT) & (!success)) ||
|
||||
((test->type == XML_SCHEMATRON_ASSERT) & (success)))
|
||||
if (((test->type == XML_SCHEMATRON_REPORT) && (!success)) ||
|
||||
((test->type == XML_SCHEMATRON_ASSERT) && (success)))
|
||||
return;
|
||||
line = xmlGetLineNo(cur);
|
||||
path = xmlGetNodePath(cur);
|
||||
|
Loading…
x
Reference in New Issue
Block a user