/* Returns a new xmlChar *, the original @cur is reallocated if needed and should not be freed  */
xmlChar* xmlStrncat(xmlChar *cur, const xmlChar *add, int len)
/* Returns a new xmlChar *, the original @cur is reallocated if needed and should not be freed  */
xmlChar* xmlStrncat(xmlChar *cur, const xmlChar *add, int len)
{
        xmlErrMemory(NULL, NULL);
        return(cur);
    }
    memcpy(&ret[size], add, len * sizeof(xmlChar));
    ret[size + len] = 0;
    return(ret);
}