W3C home > Mailing lists > Public > www-ws-desc@w3.org > January 2007

Re: [SPAM] Issue with IgnoreUncidedEndpoint in LocationTemplate-1G

From: Youenn Fablet <youenn.fablet@crf.canon.fr>
Date: Wed, 31 Jan 2007 10:31:09 +0100
To: keith chapman <keithgchapman@gmail.com>
Cc: www-ws-desc <www-ws-desc@w3.org>, Jonathan Marsh <jonathan@wso2.com>
Message-id: <45C061DD.4020004@crf.canon.fr>

I am then wondering how the nillable approach is better compared to the 
first, simpler, solution that comes to mind, i.e. stating that
ignored parameters must be optional elements in the schema?
    Youenn

keith chapman wrote:
> Hi,
>
> The schema of LocationTemplate-1G states the following,
>
>       <xs:element name="time" type="xs:time" minOccurs="2" 
> maxOccurs="2" nillable="true"/>
>
> But in IgnoreUncidedEndpoint in LocationTemplate-1G, 
> whttp:location="datespace/{year}.html?start={time}". This is not 
> schema valid because there is only 1 time value. We can fix this by 
> changing the schema to minOccurs="1" or adding the end value to http 
> location.
>
> Thanks,
> Keith.
>
> -- 
> Keith Chapman
> WSO2 Inc.
> Oxygen for Web Services Developers.
> http://wso2.org/ 
Received on Wednesday, 31 January 2007 09:31:43 GMT

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