1 Reply Latest reply on Dec 27, 2012 1:08 PM by Maciej Swiderski

    Failed to read schema document

    Danilo Rizzo Newbie

      Hello All,

       

      I created a process in guvnor with JBPM Designer 2.4.0.

       

      When I try to execute it, I get the following warning.

       

      (null: 8, 96): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 17, 79): src-resolve: Cannot resolve the name 'bpmndi:BPMNDiagram' to a(n) 'element declaration' component.

      (null: 20, 52): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 20, 52): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmndi:BPMNDiagram'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":rootElement, "http://www.omg.org/spec/BPMN/20100524/MODEL":relationship}' is expected.

      (null: 21, 76): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 22, 106): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 23, 68): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 25, 106): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 26, 69): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 28, 185): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 29, 63): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/DD/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 29, 63): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 29, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.

      (null: 30, 63): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/DD/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 30, 63): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 30, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.

      (null: 32, 106): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 33, 68): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 35, 185): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 36, 63): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/DD/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 36, 63): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 36, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.

      (null: 37, 63): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/DD/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 37, 63): schema_reference.4: Failed to read schema document 'http://www.omg.org/spec/DD/20100524/DC-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

      (null: 37, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.

      (null: 41, 52): cvc-complex-type.4: Attribute 'type' must appear on element 'bpmn2:relationship'.

      (null: 44, 92): cvc-elt.4.2: Cannot resolve 'drools:Scenario' to a type definition for element 'drools:Scenario'.

      (null: 47, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      (null: 48, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

      (null: 53, 69): cvc-elt.4.2: Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.

      (null: 54, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.

      (null: 60, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      (null: 61, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      (null: 67, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      (null: 68, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

      (null: 75, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      (null: 76, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:WaitTime'.

      (null: 83, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      (null: 84, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      Hello World!

       

      Any idea?

        • 1. Re: Failed to read schema document
          Maciej Swiderski Master

          this is caused by additional neta data required for simulation and the xml parser used by jbpm runtime engine was not updated to understand them. Please note that they do not cause any problems with the process execution whatsoever. As you can see the last line "Hello World!" is printed and assuming it comes from a process.

           

          HTH