On Mon, Jul 07, 2008 at 01:42:02PM +0100, John Levon wrote:
On Mon, Jul 07, 2008 at 01:31:37PM +0100, Daniel P. Berrange wrote:
> > (Probably: we've only got /usr/share/lib/xml/dtd/ to date.)
>
> Neither exist on Fedora / Linux - the closest I see is
>
> /usr/share/xml/xhtml/1.0/xhtml1-strict.dtd
Even that wasn't a given, I had to fight for this a long time ago,
but that's history now ;-)
> Thus I'd suggest we install schemas into the generic
pkgdatadir
>
> /usr/share/libvirt/schemas/{domain,network,capabilities,storage}.rng
>
> and let OS-distributors either move it, or symlink to this when building
> their own binary packages.
Fine by me (it'd be nice for the image.rng from virt-install to go there
too, though)
Since the rng(s) are very specific to libvirt, I really think we need
to consider this libvirt data rather than XML data. The fact that we use
an XML related technology of encoding and validation is an internal property
and we are not proposing general purpose XML data.
So something under /usr/share/libvirt/ sounds right, schemas is a proper
subdirectory name, so i really agree with the suggestion.
Daniel
--
Red Hat Virtualization group
http://redhat.com/virtualization/
Daniel Veillard | virtualization library
http://libvirt.org/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/