Patch for FDI schema
Dave Malcolm
dmalcolm at redhat.com
Fri Nov 5 15:25:54 PST 2004
Attached is a patch to the DTD and RELAX NG schema for FDI files, which
makes all of the current FDI files in CVS validate.
FWIW the storage-policy.fdi file seemed to be the one that required the
most extension to the existing schema.
I refactored the content model of <merge> out so that it's now shared by
both <merge> and <append> elements (in the rng file, at least) - they
have identical content models; in particular, both can have a
"copy_property" type of key. Is all of this sane?
It'd be nice if someone could run the RELAX NG schema through some kind
of documentation-generator for going into the HAL spec.
Also attached are a couple of crappy shell scripts I've been using for
checking validation - though perhaps this sort of checking should be
integrated into the build framework? (on "make distcheck", perhaps?)
Dave Malcolm
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-schema.patch
Type: text/x-patch
Size: 3531 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20041105/4b1b3944/hal-schema.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: validate-all.sh
Type: application/x-shellscript
Size: 179 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20041105/4b1b3944/validate-all.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: validate-subdir.sh
Type: application/x-shellscript
Size: 218 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20041105/4b1b3944/validate-subdir.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list