/* returns result of the compare as with xmlStrncmp  */
int xmlUTF8Charcmp(const xmlChar *utf1, const xmlChar *utf2)
/* returns result of the compare as with xmlStrncmp  */
int xmlUTF8Charcmp(const xmlChar *utf1, const xmlChar *utf2)
{
        if (utf2 == NULL)
            return 0;
        return -1;
    }
    return xmlStrncmp(utf1, utf2, xmlUTF8Size(utf1));
}