[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Relax NG and Web Services (formerly Joining the church)

  • To: "Rick Jelliffe" <ricko@a...>,<xml-dev@l...>
  • Subject: RE: Relax NG and Web Services (formerly Joining the church)
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Fri, 11 Jul 2003 11:25:04 -0700
  • Thread-index: AcNHgx21x3oK98r/SGGHaLABajCObwAVqI3v
  • Thread-topic: Relax NG and Web Services (formerly Joining the church)

wsdl relax ng
Agreed on all three. The key point is that you have to restrict your usage of RELAX NG to unambigous schemas if you want to use it as a basis of creating strongly typed XML. 

________________________________

From: Rick Jelliffe [mailto:ricko@a...]
Sent: Fri 7/11/2003 1:10 AM
To: xml-dev@l...
Subject: Re:  Relax NG and Web Services (formerly Joining the church)



From: <MDaconta@a...>
>
> While there are possible workarounds, I don't believe the current web-service
> tools or specs support using Relax NG.  And when explaining this to policy makers,
> a custom workaround without significant benefits won't fly.

I think there are three possible good objections:

* WSDL does not allow other schema languages (wrong)
* WSDL implementations require WSDL tools (wrong)
* WSDL requires a type system and RELAX NG is not useable a type system (wrong).

On the first point: WSDL part 1 allows use of other schema languages.

" WSDL recognizes the need for rich type systems for describing message formats,
and supports the XML Schemas specification (XSD) as its canonical type system.
However, since it is unreasonable to expect a single type system grammar to be used
to describe all message formats present and future, WSDL allows using other type
definition languages via extensibility."
http://www.w3.org/TR/2001/NOTE-wsdl-20010315

On the second point, WSDL can be used as a specification for programmers.
I suspect that typically advertisement and discovery of a web service are
independent of its adoption, at least in the most simple case (Does anyone
use trusted repositories?)  So the absolute requirement that you can go
from discovery to generated interfaces without human intervention looks
like a furphy. For example, that is our expectation with the Topologi
Validating Proxy: a programmer can use the WSDL as a spec, extract
the WXS or Schematron schema and configure the proxy with that;
we are happy to provide RELAX NG if anyone wants that, b.t.w.

On the third point, it is certainly true that Schematron is not a "type system"
and RELAX NG was not developed as such. However, unambiguous RELAX
NG schemas can be used for unambiguous typing.  But when I read the
WSDL spec, it seems that readers can go too far with the terminology "type systems":
if the aim of the web service is merely to provide a computer readable
XML specification of the interface, then any expressive-enough validation
language will do.  

Cheers
Rick Jelliffe
Topologi, Pty. Ltd.



-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.