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

Youenn Fablet <[email protected]>
Newsgroups gmane.comp.web.services.description
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.