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

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 UTC