/* Returns NULL for an illegal name, (xmlChar*) 1 for success and the name for mismatch  */
static const xmlChar* xmlParseNameAndCompare(xmlParserCtxtPtr ctxt, xmlChar const *other)
/* Returns NULL for an illegal name, (xmlChar*) 1 for success and the name for mismatch  */
static const xmlChar* xmlParseNameAndCompare(xmlParserCtxtPtr ctxt, xmlChar const *other)
{
	++in;
	++cmp;
	ctxt->input->col++;
    }
    if (*cmp == 0 && (*in == '>' || IS_BLANK_CH (*in))) {
	ctxt->input->cur = in;
	return (const xmlChar*) 1;
    }
    ret = xmlParseName (ctxt);
    if (ret == other) {
	return (const xmlChar*) 1;
    }
    return ret;
}