[fedora-virt] [PATCH] Cleanup XML output of virt-inspector

Matthew Booth mbooth at redhat.com
Fri Jun 26 10:44:37 UTC 2009

The attached patch makes some changes to the XML output of 
virt-inspector. Firstly, it changes the output code to use XML:Writer. 
This changes:

* Single quotes for attributes become double quotes
* All data is properly escaped
* Indentation

In practise, these should be invisible. It also changes the output 
semantically in 2 ways:

* /operatingsystems/operatingsystem/os is renamed to

* /operatingsystems/kernels/version becomes an attribute of
   /operatingsystems/kernel for consistency with initrds

Are these changes likely to cause problems?

Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Clean-up-XML-output.patch
URL: <http://listman.redhat.com/archives/fedora-virt/attachments/20090626/8c931dac/attachment.ksh>

More information about the Fedora-virt mailing list