[
Lists Home |
Date Index |
Thread Index
]
Your choice of terminology is confusing. Here's my try:
In my experience users of XML Schema language, particularly W3C XML Schema, fall into two broad classes. Those who want validation of XML documents (i.e. a message contract) and those who want to create Type Augmented Infosets (i.e. strongly typed XML). RELAX NG does the former but not the latter. W3C XML Schema does both, in my experience it doesn't do enough of the former and too much of the latter.
I remember talking to James Clark last year about this and remember him expressing some reservations in moving RELAX NG in a direction where it could also be used as a basis for creating and processing strongly typed XML.
PS: WXS = W3C XML Schema Language, XSD = XML Schema Definition language. Aren't they the same thing?
________________________________
From: Bill de hÓra [mailto:bill@dehora.net]
Sent: Thu 7/10/2003 6:41 AM
To: MDaconta@aol.com
Cc: tbray@textuality.com; xml-dev@lists.xml.org
Subject: Re: [xml-dev] Relax NG and Web Services (formerly Joining the church)
MDaconta@aol.com wrote:
>>Tim Bray:
>> Any reason you couldn't work it out in RelaxNG, and then use the
>> generated XSD in the WSDL?
>
>
> That is a good partial solution for hand-crafted WSDL. Of course, the
> recipient is still validating against XSD. Also, you would not
> get any of the validation benefits that Relax NG has over XSD as it must be
> translated to XSD.
I'm confused. XSD and RNG are to a large degree orthogonal - XSD is
a type system, RNG is an a schema language for XML. Perhaps XSD is
being conflated with WXS?
|