[libvirt] [PATCH] allow (only) surrounding whitespace in uuid

Dan Kenigsberg danken at redhat.com
Sat Jan 23 15:43:41 UTC 2010

On Thu, Jan 21, 2010 at 03:33:21PM +0100, Daniel Veillard wrote:
> On Tue, Jan 05, 2010 at 02:51:06PM +0200, Dan Kenigsberg wrote:
> > Please consider something along these lines. Without it, pretty-printed
> > domxml is rejected due to the whitespace before uuid, and long long
> > string of hexadecimal digits is accepted.
> > ---

>   Yes that looks fine to me and testing for NUL termination sound
> important, ACK,
>    pushed, thanks !

Thank you. Though since I've sent that, I noticed that surrounding
whitespace is a more general problem of xml text nodes, such as the
<os><type> element.

Should libvirt consider any surrounding whitespace as insignificant?
What's usually done in the xml world?


More information about the libvir-list mailing list