OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Non-schema approach to web service design: comments?

[ Lists Home | Date Index | Thread Index ]
  • To: "Michael Champion" <michaelc.champion@gmail.com>
  • Subject: RE: [xml-dev] Non-schema approach to web service design: comments?
  • From: "Mark Seaborne" <MSeaborne@origoservices.com>
  • Date: Mon, 31 Oct 2005 09:26:31 -0000
  • Cc: <xml-dev@lists.xml.org>
  • Importance: normal
  • Priority: normal
  • Thread-index: AcXb//pdO+1m8bopRjmtxilsYMsYGgB+vqhw
  • Thread-topic: [xml-dev] Non-schema approach to web service design: comments?

> I see how this would be vastly easier in Schematron, or 
> another schema language that allows co-occurrence 
> constraints?  I should have instantly thought of that as the 
> most commonly discussed reason why real-world format 
> constraints can't be expressed in XSD.
> 
> Strictly speaking, Schematron is independent of / 
> complementary to XSD, however.  It seems like it would be 
> easier to figure out how to get them to work usefully 
> together than start the schema wars over again.

This is an approach that we have been investigating recently. I work for a vertical industry standards body that develops WXS schemas for the UK life and pensions industry (http://www.origostandards.com). We have long recognised the limits of WXS expressive power, so we have begun experimenting with the combination of Schematron and WXS. 

In the end we decided to expose our first Schematron schema via XForms. XForms allows the definition of XPath based constraints like Schematron (so we can replicate the assertions we define), and most usefully, it defines how these be combined with WXS schema types. Obviously XForms also allows you to define a UI if you want one, so we have started development of a form that presents an instance validity report to a user (see http://www.origostandards.com/XForms/InstanceValidator/). 

It is at a very early stage of development, so the form is rather primitive and I think our Schematron schema is a bit dodgy, but there is enough to demonstrate the power of combining WXS/Schematron/XForms. Unfortunately, due to time constraints, we have only been able to test the form with the Novell XForms processor (link from above site), but it should work with others once the CSS has been tweaked.

All the best

Mark Seaborne
The information in this e-mail is sent in confidence for the addressee only and may be legally privileged. Unauthorised recipients must preserve this confidentiality and should please advise the sender immediately of the error in transmission and then delete this e-mail. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on its content is prohibited and may be unlawful.

Origo Services Limited accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this e-mail or the contents.  It is your responsibility to scan for viruses.  Origo Services Limited reserves the right to monitor e-mails sent to or from addresses under its control.  When you reply to this e-mail, you are consenting to Origo Services Limited monitoring the content of the e-mails you send to or receive from Origo Services Limited.  If this e-mail is non-business related Origo Services Limited is not liable for any opinions expressed by the sender.  The contents of this e-mail are protected by copyright.  All rights reserved.



Origo Services Limited is a company incorporated in Scotland (company number 115061) having its registered office at 4th floor, Saltire Court, 20 Castle Terrace, Edinburgh EH1 2EN.




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS