[libvirt] [PATCH] update libvirt.rng

Daniel P. Berrange berrange at redhat.com
Mon Jul 7 12:31:37 UTC 2008


On Mon, Jul 07, 2008 at 01:14:17PM +0100, John Levon wrote:
> On Mon, Jul 07, 2008 at 06:37:25AM -0400, Daniel Veillard wrote:
> 
> >   For a virsh command I think it's fine, the main difficulty is to make sure
> > we have a good hardcoded path for the rng file when 'make install' is done
> > and that the packaging includes the file.
> 
> On Solaris, this would be:
> 
> /usr/share/lib/xml/rng/libvirt.rng
> 
> (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

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.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list