1 Reply Latest reply on Oct 13, 2005 12:17 AM by aguizar

    is there any new xsd of jbpm

    pikachu

      thx for jbpm! it's great!!

      is there any new xsd of jbpm higher than 3.0?

      the JPDL say i can write conten in a tag as follow,

      <task-node name="createBug">
       <task swimlane="requester">
       <controller>
       <url>createBug.jsp</url>
       </controller>
      
       </task>
       <transition name="to_dispatch" to="dispatchBug"></transition>
      </task-node>
      


      but the 3.0 xsd say no!


        • 1. Re: is there any new xsd of jbpm
          aguizar

          The schema allows any element to appear as child of the controller element. From jpdl-3.0.xsd:

          <xs:element name="controller" minOccurs="0">
           <xs:complexType>
           <xs:sequence>
           <xs:any minOccurs="0" maxOccurs="unbounded"/>
           </xs:sequence>
           <xs:attribute name="class" type="xs:string" use="optional"/>
           <xs:attribute name="config-type" type="configType" use="optional"/>
           </xs:complexType>
          </xs:element>

          There is a semantic restriction, tough (as opposed to syntactic). The jBPM manual, sect. 13.3.26 states:
          if no task controller handler is specified, the content must be a list of variable elements

          This makes sense because you need a new controller (referenced by the class attribute of element controller) that is able to read the custom configuration.