mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-21 22:50:08 +03:00
Fix Windows build
* relaxng.c: fix windows build
This commit is contained in:
parent
65d359e3a5
commit
848e5cf3ab
@ -5366,7 +5366,7 @@ xmlRelaxNGParseNameClass(xmlRelaxNGParserCtxtPtr ctxt, xmlNodePtr node,
|
||||
} else {
|
||||
xmlRngPErr(ctxt, node, XML_RNGP_CHOICE_CONTENT,
|
||||
"expecting name, anyName, nsName or choice : got %s\n",
|
||||
(node == NULL ? 'nothing' : node->name), NULL);
|
||||
(node == NULL ? "nothing" : node->name), NULL);
|
||||
return (NULL);
|
||||
}
|
||||
if (ret != def) {
|
||||
@ -9450,7 +9450,7 @@ xmlRelaxNGValidateInterleave(xmlRelaxNGValidCtxtPtr ctxt,
|
||||
ctxt->states = NULL;
|
||||
if (found == 0) {
|
||||
if (cur == NULL) {
|
||||
VALID_ERR2(XML_RELAXNG_ERR_INTEREXTRA, 'noname');
|
||||
VALID_ERR2(XML_RELAXNG_ERR_INTEREXTRA, "noname");
|
||||
} else {
|
||||
VALID_ERR2(XML_RELAXNG_ERR_INTEREXTRA, cur->name);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user