Re: [PATCH] schema: Allow space character in disk vendor/product

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 26, 2016 at 10:01:17AM -0400, Cole Robinson wrote:
> The hex range already tried to allow for it, but it doesn't work
> for reasons I can't figure out. Use a plain character range instead,
> and test it
> ---
>  docs/schemas/domaincommon.rng                                  | 2 ++
>  tests/qemuxml2xmloutdata/qemuxml2xmlout-disk-scsi-disk-vpd.xml | 4 ++--
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
> index 4ad2236..6c80b66 100644
> --- a/docs/schemas/domaincommon.rng
> +++ b/docs/schemas/domaincommon.rng
> @@ -1165,6 +1165,7 @@
>        <optional>
>          <element name="vendor">
>            <data type="string">
> +            <!-- All printable characters -->
>              <param name="pattern">[ -~]{0,8}</param>
>            </data>
>          </element>
> @@ -1172,6 +1173,7 @@
>        <optional>
>          <element name="product">
>            <data type="string">
> +            <!-- All printable characters -->
>              <param name="pattern">[ -~]{0,16}</param>
>            </data>
>          </element>

Maybe I'm missing something but you don't appear to have changed
the schema at all, merely added a comment ???

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]