[GRAAP-WG] Failure in agreement_types.xsd

Oliver Wäldrich Oliver.Waeldrich at scai.fraunhofer.de
Fri Oct 13 05:58:22 CDT 2006


Hallo,

I found a failure in the agreement_types.xsd. The type
AgreementServiceReferenceListType is currently delared as follows:

    <xs:complexType name="AgreementServiceReferenceListType">
        <xs:sequence>
            <xs:element name="ServiceReference"
                type="wsag:AgreementServiceReferenceType" />
        </xs:sequence>
        <xs:attribute name="ServiceName" type="xs:NCName" />
    </xs:complexType>



However, since this is a list type the element ServiceReference should be
declared as unbounded:

    <xs:complexType name="AgreementServiceReferenceListType">
        <xs:sequence>
            <xs:element name="ServiceReference"
                type="wsag:AgreementServiceReferenceType" 
		    maxOccurs="unbounded" />
        </xs:sequence>
        <xs:attribute name="ServiceName" type="xs:NCName" />
    </xs:complexType>



Regards,
Oliver 

-----------------------------------------------------------------------
                          Oliver Wäldrich
  Fraunhofer-Institute for Algorithms and Scientific Computing (SCAI)
         Schloss Birlinghoven, D-53754 Sankt Augustin, Germany
             Tel: +49 2241 14 2830; Fax: +49 2241 14 42830
 
           CoreGRID Network of Excellence   www.coregrid.net
Institute on Resource Management and Scheduling   www.coregrid.net/irms





More information about the graap-wg mailing list