Re: [libvirt] [PATCH] avoid XML attributes escaping problems

2009-05-13 Thread Daniel P. Berrange
On Tue, May 12, 2009 at 05:08:21PM +0200, Daniel Veillard wrote: The associated patch solves https://bugzilla.redhat.com/show_bug.cgi?id=499791 where ' or character in attribute values may lead to non well-formed XML. This takes the simplest approach to always escape then to apos; and

Re: [libvirt] [PATCH] avoid XML attributes escaping problems

2009-05-13 Thread Daniel Veillard
On Wed, May 13, 2009 at 10:31:31AM +0100, Daniel P. Berrange wrote: On Tue, May 12, 2009 at 05:08:21PM +0200, Daniel Veillard wrote: The associated patch solves https://bugzilla.redhat.com/show_bug.cgi?id=499791 where ' or character in attribute values may lead to non well-formed

[libvirt] [PATCH] avoid XML attributes escaping problems

2009-05-12 Thread Daniel Veillard
The associated patch solves https://bugzilla.redhat.com/show_bug.cgi?id=499791 where ' or character in attribute values may lead to non well-formed XML. This takes the simplest approach to always escape then to apos; and quot; since this is completely equivalent from an XML point of view and