[MOBY-dev] findService question

Edward Kawas edward.kawas at gmail.com
Wed Oct 31 14:47:54 UTC 2007


Hey Dmitry,

In the schema I tried to make the schema say that if there exists a section
called inputObjects/outputObjects then the sections Input/Output are
mandatory.

Re-reading the documentation though, it seems that they really both should
have max/min of 1.

Did I address your question?

Eddie

> -----Original Message-----
> From: moby-dev-bounces at lists.open-bio.org 
> [mailto:moby-dev-bounces at lists.open-bio.org] On Behalf Of 
> Dmitry Repchevsky
> Sent: Wednesday, October 31, 2007 7:37 AM
> To: moby-dev at lists.open-bio.org
> Subject: [MOBY-dev] findService question
> 
> Hello!
> 
> I have another question about the findService...
> In the documentation we have:
> *************************************************************
> 
>   <inputObjects>
>     <Input>
>          <!-- one or more Simple or Collection articles -->
>     </Input>
>   </inputObjects>
>   <outputObjects>
>     <Output>
>          <!-- one or more Simple or Collection articles -->
>     </Output>
>   </outputObjects>
> 
> *************************************************************
> 
> The scheme for the operation says:
> 
> *************************************************************
> <xs:element name="outputObjects" minOccurs="0" maxOccurs="1">
>   <xs:complexType>
>      <xs:sequence>
>         <xs:element name="Output" minOccurs="1" maxOccurs="1">
> 
> ... The same for input...
> *************************************************************
> 
> It is not against the err... specification, but in this case 
> there could be only one "Input" per "InputObjects".
> I just need to clarify it - or the schema is wrong or we have 
> a useless wrapper around "Input" ("inputObjects") in message.
> 
> Dmitry
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev




More information about the MOBY-dev mailing list