As far as I can tell xmlParseURI always fails if the input URI contains a space in the path part of the URI.
Virt-v2v uses URIs for all kinds of things including referencing remote virtual machines, eg: ssh://r...@esxi.example.com/vmfs/volumes/datacenter/my guest/my guest.vmx Virtual machine names often contain spaces. You have to tell people to replace spaces with ‘%20’s, and that can be awkward in the sort of shell-scripting places where virt-v2v is often used, and it's a usability problem too. One suggestion is that we wrap all calls to xmlParseURI with a wrapper that simply replaces spaces with ‘%20’s (without making any attempt to understand the URI, just blind replacement). Is this going to be a bad thing? Note that I don't care if it doesn't conform to some RFC. I'm much more worried that we'll introduce a security bug by doing this or that there's some unanticipated pitfall. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml