1 Reply Latest reply on Apr 4, 2014 4:37 AM by Mauricio Salatino

    if somebody knows ,any worngs in my bpmn2.xml

    Marshal Lee Newbie

      0    04/04 16:22:42,838[main] ERROR drools.xml.ExtensibleXmlParser.error  - (null: 1, 1,521): cvc-datatype-valid.1.2.1: '371AF23C-EC16-4D34-8E80-B7783FBF5430' is not valid values of 'QName'

      8    04/04 16:22:42,846[main] ERROR drools.xml.ExtensibleXmlParser.error  - (null: 1, 1,521): cvc-type.3.1.3: 元素 'bpmn2:outgoing' 的值 '371AF23C-EC16-4D34-8E80-B7783FBF5430' invalid

       

      <?xml version="1.0" encoding="UTF-8"?><bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/bpmn20" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:drools="http://www.jboss.org/drools" id="_kGdBgLsKEeOJqcEArTOhAQ" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd" expressionLanguage="http://www.mvel.org/2.0" targetNamespace="http://www.omg.org/bpmn20" typeLanguage="http://www.java.com/javaTypes"><bpmn2:itemDefinition id="_resultItem" structureRef="String"/><bpmn2:itemDefinition id="_workItemItem" structureRef="String"/><bpmn2:itemDefinition id="_85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_resultInputItem" structureRef="String"/><bpmn2:itemDefinition id="_85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_resultOutputItem" structureRef="String"/><bpmn2:process id="test" drools:packageName="org.marshal" drools:version="" name="测试" isExecutable="true"><bpmn2:property id="result" itemSubjectRef="_resultItem"/><bpmn2:property id="workItem" itemSubjectRef="_workItemItem"/><bpmn2:startEvent id="E23841E7-5009-4D38-BF8A-ED5C90333E54" drools:bgcolor="#9acd32" drools:selectable="true" name="开始"><bpmn2:outgoing>371AF23C-EC16-4D34-8E80-B7783FBF5430</bpmn2:outgoing></bpmn2:startEvent> <bpmn2:userTask id="85C07EC9-997D-4C40-84F2-2C7A7FEBD14A" drools:selectable="true" drools:fontcolor="#3366FF" drools:scriptFormat="http://www.java.com/java" name="任务"><bpmn2:incoming>371AF23C-EC16-4D34-8E80-B7783FBF5430</bpmn2:incoming><bpmn2:outgoing>C690BBA4-772A-4912-A9CA-8229A913C2AC</bpmn2:outgoing><bpmn2:ioSpecification id="6CC21144-4B38-4CCF-875B-184A67BF15DD"><bpmn2:dataInput id="85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_resultInput" drools:dtype="String" itemSubjectRef="_85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_resultInputItem" name="result"/><bpmn2:dataInput id="85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_GroupIdInput" name="GroupId"/><bpmn2:dataOutput id="85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_resultOutput" drools:dtype="String" itemSubjectRef="_85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_resultOutputItem" name="result"/><bpmn2:inputSet id="7DA43D24-4758-4996-B41D-B61A5A314ECB"><bpmn2:dataInputRefs>85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_resultInput</bpmn2:dataInputRefs><bpmn2:dataInputRefs>85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_GroupIdInput</bpmn2:dataInputRefs></bpmn2:inputSet><bpmn2:outputSet id="5D3FB91E-B061-4285-ACD6-BE59A2749821"><bpmn2:dataOutputRefs>85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_resultOutput</bpmn2:dataOutputRefs></bpmn2:outputSet></bpmn2:ioSpecification><bpmn2:dataInputAssociation id="85A16660-861F-48D6-92A6-63D8D776717A"><bpmn2:sourceRef>result</bpmn2:sourceRef><bpmn2:targetRef>85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_resultInput</bpmn2:targetRef></bpmn2:dataInputAssociation><bpmn2:dataInputAssociation id="054C19F9-8F77-47C4-8757-859FE7BAB80D"><bpmn2:targetRef>85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_GroupIdInput</bpmn2:targetRef><bpmn2:assignment id="CA1002F9-B5BB-4A79-945C-AA3811CB5188"><bpmn2:from xsi:type="bpmn2:tFormalExpression" id="15E0A003-6603-4CC9-AD2E-7287B7470D55"></bpmn2:from><bpmn2:to xsi:type="bpmn2:tFormalExpression" id="5E2E1667-B216-4D1C-9F25-F89C1912700A">85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_GroupIdInput</bpmn2:to></bpmn2:assignment></bpmn2:dataInputAssociation><bpmn2:dataOutputAssociation id="B7FE48CE-7C99-44B8-AC41-85F77D924D0B"><bpmn2:sourceRef>result</bpmn2:sourceRef><bpmn2:targetRef>85C07EC9-997D-4C40-84F2-2C7A7FEBD14A_resultOutput</bpmn2:targetRef></bpmn2:dataOutputAssociation><bpmn2:potentialOwner id="6999A98E-4608-42BB-836E-5DB6E4B00D0D"><bpmn2:resourceAssignmentExpression id="3868FCD4-EAB0-44A6-A4C1-A908F946E312"><bpmn2:formalExpression id="4B31988C-9F39-47B0-A707-CA7922549371">marshal</bpmn2:formalExpression></bpmn2:resourceAssignmentExpression></bpmn2:potentialOwner></bpmn2:userTask><bpmn2:endEvent id="A7369176-A445-4FEA-8B3D-916B7A8CF379" drools:bgcolor="#ff6347" drools:selectable="true" name="名称"><bpmn2:incoming>C0499D75-D548-4754-BB92-D1413017955F</bpmn2:incoming><bpmn2:terminateEventDefinition id="907E817A-26F7-48D8-980E-A28570832093"/></bpmn2:endEvent> <bpmn2:userTask id="2281DF41-67B5-47A3-B353-6C152CDBC6D5" drools:selectable="true" drools:fontcolor="#3366FF" drools:scriptFormat="http://www.java.com/java" name="任务"><bpmn2:incoming>C690BBA4-772A-4912-A9CA-8229A913C2AC</bpmn2:incoming><bpmn2:outgoing>C0499D75-D548-4754-BB92-D1413017955F</bpmn2:outgoing><bpmn2:ioSpecification id="9C720B64-E3C2-4C73-A9F6-FF7BCBCE3388"><bpmn2:dataInput id="2281DF41-67B5-47A3-B353-6C152CDBC6D5_GroupIdInput" name="GroupId"/><bpmn2:inputSet id="44C5CFFF-3743-45F3-8AEC-47390E2E0B59"><bpmn2:dataInputRefs>2281DF41-67B5-47A3-B353-6C152CDBC6D5_GroupIdInput</bpmn2:dataInputRefs></bpmn2:inputSet><bpmn2:outputSet id="451A623F-11FC-46DF-9044-48709B8806C4"></bpmn2:outputSet></bpmn2:ioSpecification><bpmn2:dataInputAssociation id="E4904E52-1C7D-492D-87A0-B20B0A2029B5"><bpmn2:targetRef>2281DF41-67B5-47A3-B353-6C152CDBC6D5_GroupIdInput</bpmn2:targetRef><bpmn2:assignment id="FBBD0D89-3639-40E3-B9BF-7112E09F137D"><bpmn2:from xsi:type="bpmn2:tFormalExpression" id="8282A06F-D717-47C8-96D6-3F2AD7BCE841">HR</bpmn2:from><bpmn2:to xsi:type="bpmn2:tFormalExpression" id="342E0FAA-1EB4-410A-8E91-F1124F7FEC7F">2281DF41-67B5-47A3-B353-6C152CDBC6D5_GroupIdInput</bpmn2:to></bpmn2:assignment></bpmn2:dataInputAssociation><bpmn2:potentialOwner id="3DA34D8C-3A85-454A-9A87-E78F02121C78"><bpmn2:resourceAssignmentExpression id="5F8B0534-E89C-4CF6-94CD-3C7EAB1F3AB1"><bpmn2:formalExpression id="F6F7CDBB-62CB-42E1-BEEB-95D457780B6E"></bpmn2:formalExpression></bpmn2:resourceAssignmentExpression></bpmn2:potentialOwner></bpmn2:userTask><bpmn2:sequenceFlow id="371AF23C-EC16-4D34-8E80-B7783FBF5430" drools:bgcolor="#000000" drools:selectable="true" drools:priority="1" sourceRef="E23841E7-5009-4D38-BF8A-ED5C90333E54" targetRef="85C07EC9-997D-4C40-84F2-2C7A7FEBD14A"/><bpmn2:sequenceFlow id="C690BBA4-772A-4912-A9CA-8229A913C2AC" drools:bgcolor="#000000" drools:selectable="true" drools:priority="1" sourceRef="85C07EC9-997D-4C40-84F2-2C7A7FEBD14A" targetRef="2281DF41-67B5-47A3-B353-6C152CDBC6D5"/><bpmn2:sequenceFlow id="C0499D75-D548-4754-BB92-D1413017955F" drools:bgcolor="#000000" drools:selectable="true" drools:priority="1" sourceRef="2281DF41-67B5-47A3-B353-6C152CDBC6D5" targetRef="A7369176-A445-4FEA-8B3D-916B7A8CF379"/></bpmn2:process></bpmn2:definitions>