--- libxml2-2.6.24-orig/relaxng.c 2006-04-28 11:34:13.000000000 -0400 +++ libxml2-2.6.24/relaxng.c 2006-05-03 10:16:00.000000000 -0400 @@ -7394,7 +7394,7 @@ if (root == NULL) { xmlRngPErr(ctxt, (xmlNodePtr) doc, XML_RNGP_EMPTY, "xmlRelaxNGParse: %s is empty\n", - (ctxt->URL ? ctxt->URL : "schemas"), NULL); + (ctxt->URL ? ctxt->URL : BAD_CAST "schemas"), NULL); xmlFreeDoc(ctxt->document); ctxt->document = NULL;