Re: [wsbpel-spec-edit] [Fwd: Re: a follow-up on BPEL XML Schema fileplacement]

From
Alex Yiu <>
Date
2004-03-25T20:58:26+00:00
ID
Thread
Re: [wsbpel-spec-edit] [Fwd: Re: a follow-up on BPEL XML Schema fileplacement]
Paco,

All changes are typo kind. But, it would be still good for others to 
verify whether I made some un-intentionally changes.

Here I attached 3 XSD files and their corresponding "original" version 
(copy-and-paste from the Word Doc as-if) for you guys to do comparision.


(1) bpel_plinkType.xsd:
No changes except adding the annotation / documentation at the beginning 
of the XSD file.


(2) bpel_msgprop.xsd:
Unfortunately, XMLSpy (the schema tool that I use) changes some of 
indents automatically in the case of  bpel_msgprop.xsd. So, the diff 
program does not yield good results. Here let me try to list the changes 
manually:

(2a) propertyAlias: (i) wrong order of sequence-attribute (ii) extra 
complexContent usage
(iii) adding minOccurs=0 to query subelement, since the original query 
attribute is optional.
(iv) adding processContent="lax"

Before:
----------------------------
        <element name="propertyAlias">
           <complexType>
                <attribute name="propertyName" type="QName"
                          use="required"/>
                <attribute name="messageType" type="QName"
                          use="required"/>
                <attribute name="part" type="NCName"/>
               <sequence>
                   <element name="query">
                     <complexType mixed="true">
                     <complexContent>
                        <sequence>
                          <any minOccurs="0" maxOccurs="1"/>
                        </sequence>
                        <attribute name="queryLanguage" type="anyURI"/>
                     </complexContent>
                     </complexType>
                  </element>
              </sequence>
           </complexType>
        </element>
----------------------------
After:
----------------------------
        <element name="propertyAlias">
                <complexType>
                        <sequence>
                                <element name="query" minOccurs="0">
                                        <complexType mixed="true">
                                                <sequence>
                                                        <any 
minOccurs="0" maxOccurs="1"  processContents="lax"/>
                                                </sequence>
                                                <attribute 
name="queryLanguage" type="anyURI"/>
                                        </complexType>
                                </element>
                        </sequence>
                        <attribute name="propertyName" type="QName" 
use="required"/>
                        <attribute name="messageType" type="QName" 
use="required"/>
                        <attribute name="part" type="NCName"/>
                </complexType>
        </element>
----------------------------

(3) bpel_main.xsd:
(3a) line 86-87 in bpel_main.orig.xsd: "tImport": not well-formed
(3b) line 250 - 252 in bpel_main.orig.xsd: special quotation characters 
are used instead of "
(3c) line 325 - 330 in bpel_main.orig.xsd: wrong order of sequence-attribute
(3d) line 479 - 490 in bpel_main.orig.xsd: wrong order of sequence-attribute
(3e) line 586 - 592 in bpel_main.orig.xsd: wrong order of sequence-attribute
(3f) line 675 - 691 in bpel_main.orig.xsd: extra usage of complexContent

Note: we may want to add processContent="lax" to most (if not all) of 
the xsd:any usage, especially in the definition of tQuery and tCondition.


Thanks!


Regards,
Alex Yiu


Francisco Curbera wrote:

>
>
>Alex,
>
>Thanks. I did not see the fixes you made (on top the spec's schema) marked
>inside the file. Can I assume they are all of the "typo" kind?
>
>Paco
>
>
>
>                                                                                                                                        
>                      Alex Yiu                                                                                                          
>                      <alex.yiu@oracle.        To:       Alex Yiu <>                                                 
>                      com>                     cc:                                                 
>                                               Subject:  Re: [wsbpel-spec-edit] [Fwd: Re: a follow-up on BPEL XML Schema file           
>                      03/24/2004 06:36          placement]                                                                              
>                      PM                                                                                                                
>                                                                                                                                        
>
>
>
>
>
>Hi all,
>
>I re-extracted the schema files from the 1.22 Rev of the word document.
>And, upload to the CVS already.  (bpel*.xsd Rev 1.2)
>
>http://www-124.ibm.com/developerworks/oss/cvs/wsbpeltc/specifications/SchemaFiles/
>
>
>In case of the scheduled downtime for the website, I attached those 3
>schema files in this email.
>
>When I tried to validate those schema (with XMLSpy), I found a number of
>schema syntax typo / mistakes in bpel_msgprop.xsd and bpel_main.xsd. Please
>take a look into those 2 files and see whether my fix fits the intention of
>the spec.
>
>Thanks!
>
>
>
>
>Regards,
>Alex Yiu
>
>  
>