OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrf message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Fw: [wsrf-comment] Public Comment






PR2 comment received

Regards,
Ian Robinson
STSM, WebSphere Messaging and Transactions Architect
IBM Hursley Lab, UK
ian_robinson@uk.ibm.com
----- Forwarded by Ian Robinson/UK/IBM on 31/10/2005 10:31 -----
                                                                           
             comment-form@oasi                                             
             s-open.org                                                    
                                                                        To 
             17/10/2005 20:15          wsrf-comment@lists.oasis-open.org   
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
                  ramyan               [wsrf-comment] Public Comment       
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Comment from: ramyan@us.ibm.com

Name:Ramya Nagarajan
Title:Validation error in ServiceGroup XSD
Organization:IBM
Regarding Specification:
http://docs.oasis-open.org/wsrf/wsrf-ws_service_group-1.2-spec-pr-02.pdf

The ServiceGroup XSD (http://docs.oasis-open.org/wsrf/sg-2.xsd) has the
following complexType definition:

  <xsd:complexType name="ContentType">
    <xsd:sequence>
      <xsd:element name="RPDoc"
                   type="wsrf-sg:RPDocType"
                   minOccurs="0" maxOccurs="1" />
      <xsd:any namespace="##any" processContents="lax"
               minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    <xsd:anyAttribute namespace="##other"
                      processContents="lax"/>
  </xsd:complexType>

This does not validate because of a Unique Particle Attribution error.

One way to fix this would be to redefine ContentType as follows:

  <xsd:complexType name="ContentType">
    <xsd:sequence>
      <xsd:element name="RPDoc"
                   type="wsrf-sg:RPDocType"
                   minOccurs="0" maxOccurs="1" />
      <xsd:any namespace="##other" processContents="lax"
               minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    <xsd:anyAttribute namespace="##other"
                      processContents="lax"/>
  </xsd:complexType>

I believe that this would maintain the semantics of the ServiceGroup
specification.  Any thoughts on this?

---------------------------------------------------------------------
To unsubscribe, e-mail: wsrf-comment-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: wsrf-comment-help@lists.oasis-open.org




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]