
On 04/26/2016 10:13 AM, Daniel P. Berrange wrote:
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 ???
Jan pointed that out a minute ago :) Forgot to finish squashing my patches, check v2 - Cole