Filenames starting with a digit are stored percent encoded in xmlDoc.URL (#141) · Issues · GNOME / libxml2
I used http://www.xmlsoft.org/examples/parse1.c to reproduce the problem. Just add fprintf(stderr, "%s\n", doc->URL); before the `xmlFreeDoc(doc);`. Then create the following XML files with any well-formed content: a:2.xml 1:b.xml 1%3Ab.xml The program...