[libvirt PATCH 1/3] cpu_map: Unify apostrophe and quotation mark usage

Peter Krempa pkrempa at redhat.com
Thu Oct 15 15:29:40 UTC 2020


On Thu, Oct 15, 2020 at 16:18:03 +0200, Tim Wiederhake wrote:
> Usage was mixed. For doc/schema/*.rng we switched to quotation marks
> in commit 0e907b8216b42a7c6cfa826e1df539ae513cc3a9. Follow suit.
> 
> Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
> ---
>  src/cpu_map/arm_Falkor.xml                    |   6 +-
>  src/cpu_map/arm_Kunpeng-920.xml               |   6 +-
>  src/cpu_map/arm_ThunderX299xx.xml             |   6 +-

While these are technically input files only, for libvirt's XML files we
almost exclusively use apostrophes. This is as they don't have to be
quoted when we construct the XML via C strings.

We definitely don't want to modify all XML formatters, so if you want to
unify them, XML files should use apostrophes.




More information about the libvir-list mailing list