diff --git a/relaxng.c b/relaxng.c index 0122d571..d124d72f 100644 --- a/relaxng.c +++ b/relaxng.c @@ -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); }