W3C home > Mailing lists > Public > public-ws-desc-comments@w3.org > January 2005

Re: The WSDL 2.0 XSD for Root Element is Too Loose

From: Roberto Chinnici <Roberto.Chinnici@Sun.COM>
Date: Mon, 10 Jan 2005 13:33:31 -0800
To: Asir Vedamuthu <asirv@webmethods.com>
Cc: "'Arthur Ryman'" <ryman@ca.ibm.com>, public-ws-desc-comments@w3.org, Vlad Klicnik <klicnik@ca.ibm.com>
Message-id: <41E2F4AB.5050701@sun.com>

Asir Vedamuthu wrote:

> Arthur,
>  
>> The above grammar is deterministic and enforces the ordering
>> constraint expressed in the spec using XSD constructs
>  
> Yes, it is deterministic. Yes, it enforces the ordering constraints. 
> But, at a cost (at a glance):
>  
> (a) rules out extensibility elements
> (b) types element is required if either include or import element is 
> present
> (c) .. so on

(d) A XSD->Java tool will generate yucky code when it encounters it. 
(Most tools will,
regardless of the target language. <xsd:choice/> is just too hard to 
translate.)

>> I am in favour of expressing as many as possible constraints in XSD
>  
> I agree with you, whenever feasible.

I don't. I'd rather have a human-readable schema than a complete one,
especially given we can't make it 100% accurate.

Roberto
Received on Monday, 10 January 2005 21:35:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:20:31 GMT