[xml] xmlNewInputFromFile URI problems on Win32



Hi,

When I call this on Windows:

    input = xmlNewInputFromFile(ctxt, "c:\\foo.xml");

the resulting input->filename looks like this:

    file:///c%3A/foo.html

Should the colon really be escaped?

Even worse, calling xmlPathToURI gives this:

    file%3A///c%253A/foo.html

This appears to have been doubly escaped. Are there some issues with URL handling on Windows?

Best regards,

Michael

--
Print XML with Prince!
http://www.princexml.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]