W3C home > Mailing lists > Public > public-rif-wg@w3.org > August 2007

more on XML syntax -- schema

From: Sandro Hawke <sandro@w3.org>
Date: Mon, 27 Aug 2007 14:50:32 -0400
To: public-rif-wg@w3.org
Message-ID: <2175.1188240632@ubuhebe>


Here's a slightly revised version of the RIF example document I sent on
Friday:
   http://www.w3.org/2007/08/rif-absyn/eg7.rif

Here's a machine-generated Relax-NG schema for BLD which works for that
document: 
   http://www.w3.org/2007/08/rif-absyn/bld.rnc

Here's the trang-generated XML Schema version of it:
   http://www.w3.org/2007/08/rif-absyn/bld.xsd

The W3C XML Schema validator (http://www.w3.org/2001/03/webdata/xsv)
says it's okay.

Gary -- can you try it with JAXB, and see how sane the results are?

Here's the ASN I used -- it's modified from the bits in the BLD draft in
ways I talked about in Friday's e-mail:
   http://dev.w3.org/cvsweb/2007/asn/test-data/bld.asn?rev=1.1&content-type=text/x-cvsweb-markup

Here's the code I used to generate the rnc, in Python:
   http://dev.w3.org/cvsweb/2007/asn/absyn.py?rev=1.1&content-type=text/x-cvsweb-markup

     -- Sandro
Received on Monday, 27 August 2007 18:53:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:33:40 GMT