]> xenbits.xensource.com Git - libvirt.git/commit
Correct invalid RNG schemas
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 19 Mar 2013 11:26:02 +0000 (12:26 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 21 Mar 2013 16:24:08 +0000 (17:24 +0100)
commit28933c5574575347f53227606c54c5a58728404b
treed80b78ec6af75ad42df18b8cf8bfdf02e1893745
parent03122d7bafc9d896eeb217c105b419ae905f59fb
Correct invalid RNG schemas

The 'trang' utility, which is able to transform '.rng' files into
'.rnc' files, reported some errors in our schemas that weren't caught
by the tools we use in the build.  I haven't added a test for this,
but the validity can be checked by the following command:

trang -I rng -O rnc domain.rng domain.rnc

There were unescaped minuses in regular expressions and we were
constraining int (which is by default in the range of [-2^31;2^31-1]
to maximum of 2^32.  But what we wanted was exactly an unsignedInt.
docs/schemas/domaincommon.rng
docs/schemas/nwfilter.rng