[graap-wg] The usual lists

Wolfgang Ziegler Wolfgang.Ziegler at scai.fraunhofer.de
Wed May 11 07:57:36 CDT 2005


Hi,

during the implementation of the current spec an inconsistency
between the description of the Term Compositor Structure (page 16
in the latest sourceforge version of the spec) and the schema
description on page 46. We suggest to replace this description:

     <xs:element name="All" type="wsag:TermCompositorType"/>
     <xs:complexType name="TermCompositorType">
         <xs:sequence>
             <xs:choice maxOccurs="unbounded">
                 <xs:element name="ExactlyOne" type="wsag:TermCompositorType"/>
                 <xs:element name="OneOrMore" type="wsag:TermCompositorType"/>
                 <xs:element ref="wsag:All"/>
                 <xs:element name="ServiceDescriptionTerm" 
type="wsag:ServiceDescriptionTermType"/>
                 <xs:element name="ServiceReference" 
type="wsag:ServiceReferenceType"/>
                 <xs:element name="ServiceProperties" 
type="wsag:ServicePropertiesType"/>
                 <xs:element name="GuaranteeTerm" type="wsag:GuaranteeTermType"/>
             </xs:choice>
         </xs:sequence>
     </xs:complexType>

with the following:

     <xs:element name="All" type="wsag:TermCompositorType"/>
     <xs:complexType name="TermCompositorType">
         <xs:sequence>
             <xs:choice maxOccurs="unbounded">
                 <xs:element name="ExactlyOne" type="wsag:TermCompositorType"/>
                 <xs:element name="OneOrMore" type="wsag:TermCompositorType"/>
                 <xs:element ref="wsag:All"/>
                 <xs:element name="Service" type="wsag:ServiceType"/>
             </xs:choice>
         </xs:sequence>
     </xs:complexType>
     <xs:complexType name="ServiceType">
         <xs:sequence>
               <xs:element name="ServiceDescriptionTerm" 
type="wsag:ServiceDescriptionTermType" maxOccurs="unbounded"/>
               <xs:element name="ServiceReference" 
type="wsag:ServiceReferenceType" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="ServiceProperties" 
type="wsag:ServicePropertiesType" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="GuaranteeTerm" type="wsag:GuaranteeTermType" 
minOccurs="0" maxOccurs="unbounded"/>
         </xs:sequence>
     </xs:complexType>

In addition to allow the implementation of what is described in page 16
the structure is more easy to understand after separating the definition of
the ServiceType object from the TermCompositorType

Best regards

Wolfgang

-- 
       Fraunhofer-Institute for Algorithms and Scientific Computing (SCAI)
            Schloss Birlinghoven, D-53754 Sankt Augustin, Germany
Tel: +49 2241 14 2258    Fax: +49 2241 14 42258   http://www.scai.fraunhofer.de
       "Heut ist nicht so kalt wie gestern, trotzdem dass heut kaelter ist"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3761 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.ogf.org/pipermail/graap-wg/attachments/20050511/77c33595/attachment.bin 


More information about the graap-wg mailing list