On Tue, Jul 24, 2007 at 01:33:08AM +0100, Daniel P. Berrange wrote:
On Fri, Jul 20, 2007 at 10:58:24AM -0400, Daniel Veillard wrote:
> Hum, we say it's an uri, but we interpret is differently if it's not
absolute
> this could lead to confusion. But I'm not sure being a purist here would help
> that much from an user POV.
I agree - the fact that the 'uri' to virConnectOpen doesn't technically have
to
always be a URI (eg, NULL, or Xen, or xen) is a major cause of pain virt-manager
since we have to special case parsing of it, rather than just handing off to a
generic URI parser module. We should mandate wellformed URIs for the migrate
API, where wellformed is defined to be whatever libxml is able to parse :-)
libxml2 is pedanticly following RFC 2396, though at some point I will
need to update to its successor RFC 3986
Daniel
--
Red Hat Virtualization group
http://redhat.com/virtualization/
Daniel Veillard | virtualization library
http://libvirt.org/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/