Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-api

Re: [Xen-API] XSDL schemas for Xen virtual machine configurations

To: "Andrew D. Ball" <aball@xxxxxxxxxx>
Subject: Re: [Xen-API] XSDL schemas for Xen virtual machine configurations
From: Daniel Veillard <veillard@xxxxxxxxxx>
Date: Tue, 1 Aug 2006 17:41:20 -0400
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 01 Aug 2006 14:41:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1154460067.6796.6.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <1154460067.6796.6.camel@xxxxxxxxxxxxxxxxxxxxx>
Reply-to: veillard@xxxxxxxxxx
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Tue, Aug 01, 2006 at 03:21:06PM -0400, Andrew D. Ball wrote:
> Please pardon my ignorance if this had already been discussed.
> 
> Has there been any work on standardizing schemas for Xen virtual machine
> configurations?  I really like XSDL schemas instead of DTD's.
> Regardless, I'd like to have schemas that
> 
> (1) Indicate which version of Xen they require.
> (2) Enumerate exactly which options are available.

  Which may be extremely hard to express with XSD (if not impossible) due
to the lack of support for co-occurence constaints (things like "you can
have a vmx children to a domain node only if there is no kernel attribute
on the parent" are impossible top express with XSD, making versionning
near impossible). I suggest reading about Relax-NG
   http://relaxng.org/
   http://relaxng.org/tutorial-20011203.html

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api