W3C home > Mailing lists > Public > xml-dist-app@w3.org > September 2000

Schematron schema for SOAP 1.1 Envelopes

From: Rick JELLIFFE <ricko@geotempo.com>
Date: Wed, 20 Sep 2000 00:42:57 +0800
Message-ID: <39C79791.F11A024D@geotempo.com>
To: xml-dist-app@w3.org

The SOAP 1.1 spec suffers from not being expressed in a schema language.
(RDF had the same problem.)  

I attaching a sample schema for SOAP 1.1 written using the Schematron[1]
schema language. This uses Xpath expressions rather than being
interested in issues of data or storage types. [2]   

Most of the constraints could be well-handled in XML Schemas as well.
The only constraint that it seems that Schematron can express that XML
Schemas could not is the one connecting use of the actor attribute with
the faultfactor attribute.  Some more work could be done getting lexical
schecking of data values better.

You can use this schema to get fairly specific diagnostics, for example,
using one of the Schematron implementations.

Cheers

Rick Jelliffe
Academia Sinica Computing Center (W3C Member)

[1] http://www.ascc.net/xml/resource/schematron/schematron.html  and
also the open source project page at 
http://sourceforge.net/projects/schematron
[2] For an evaluation of 6 schema languages including Schematron, see
   http://www.cobase.cs.ucla.edu/tech-docs/dongwon/ucla-200008.html

Received on Tuesday, 19 September 2000 12:28:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:57 GMT