/* Returns a newly built xmlURIPtr or NULL in case of error  */
xmlURIPtr xmlParseURI(const char *str)
/* Returns a newly built xmlURIPtr or NULL in case of error  */
xmlURIPtr xmlParseURI(const char *str)
{
	ret = xmlParse3986URIReference(uri, str);
        if (ret) {
	    xmlFreeURI(uri);
	    return(NULL);
	}
    }
    return(uri);
}