[libvirt] [PATCH] Have a colorful nodedev.rng with vi

Eric Blake eblake at redhat.com
Fri Jan 18 16:56:53 UTC 2013


On 01/18/2013 02:19 AM, Osier Yang wrote:
> Just add the head line to let vi known it's a XML document.

s/known/know/

> ---
>  docs/schemas/nodedev.rng |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

ACK to the idea, but before you push...

> 
> diff --git a/docs/schemas/nodedev.rng b/docs/schemas/nodedev.rng
> index 7c85815..04d8ee9 100644
> --- a/docs/schemas/nodedev.rng
> +++ b/docs/schemas/nodedev.rng
> @@ -1,3 +1,4 @@
> +<?xml version="1.0"?>

Please extend this to cover ALL of the .rng files; right now, my quick
grep showed two other culprits that need the same fix (vs. 11 that were
correct):

$ grep -l -L '?xml version=.1' docs/schemas/*.rng
docs/schemas/capability.rng
docs/schemas/nodedev.rng
docs/schemas/storageencryption.rng

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130118/05af471c/attachment-0001.sig>


More information about the libvir-list mailing list