Travers Snyman [
https://community.jboss.org/people/tsnyman] created the discussion
"jBPM BPMN2.0 eclipse creates xsi schema references that cannot be found"
To view the discussion, visit:
https://community.jboss.org/message/775761#775761
--------------------------------------------------------------
Hi
I am using the bpmn eclipse plugin (Indigo) to draft a business process. In the generated
bpmn file, I see it generates the following xsi schema locations
<bpmn2:definitions
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
http://www.w3.org/2001/XMLSchema-instance"
xmlns:bpmn2="
http://www.omg.org/spec/BPMN/20100524/MODEL
http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:bpmndi="
http://www.omg.org/spec/BPMN/20100524/DI
http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:dc="
http://www.omg.org/spec/DD/20100524/DC
http://www.omg.org/spec/DD/20100524/DC"
xmlns:di="
http://www.omg.org/spec/DD/20100524/DI
http://www.omg.org/spec/DD/20100524/DI"
xmlns:tns="
http://www.jboss.org/drools http://www.jboss.org/drools"
xsi:schemaLocation="
http://www.omg.org/spec/BPMN/20100524/MODEL
http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd
http://www.omg.org/spec/DD/20100524/DC
http://www.omg.org/spec/DD/20100524/DC
http://www.omg.org/spec/DD/20100524/DC-XMI
http://www.omg.org/spec/DD/20100524/DC-XMI
http://www.omg.org/spec/DD/20100524/DI
http://www.omg.org/spec/DD/20100524/DI
http://www.omg.org/spec/DD/20100524/DI-XMI
http://www.omg.org/spec/DD/20100524/DI-XMI
http://www.omg.org/spec/BPMN/20100524/DI
http://www.omg.org/spec/BPMN/20100524/DI
http://www.omg.org/spec/BPMN/20100524/DI-XMI
http://www.omg.org/spec/BPMN/20100524/DI-XMI" id="Definitions_1"
targetNamespace="
http://www.jboss.org/drools http://www.jboss.org/drools">
The issue is that when we deploy and run (on tomcat), except for the "
http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/20100524/MODEL
BPMN20.xsd schema documents could not be read - Errors as below:
(null: 439, 65): schema_reference.4: Failed to read schema document '
http://www.omg.org/spec/BPMN/20100524/DI-XMI
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: 440, 69): schema_reference.4: Failed to read schema document '
http://www.omg.org/spec/BPMN/20100524/DI-XMI
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: 441, 66): schema_reference.4: Failed to read schema document '
http://www.omg.org/spec/DD/20100524/DC-XMI
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: 443, 67): schema_reference.4: Failed to read schema document '
http://www.omg.org/spec/BPMN/20100524/DI-XMI
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: 444, 69): schema_reference.4: Failed to read schema document '
http://www.omg.org/spec/DD/20100524/DC-XMI
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>.
If I remove the xsi:schema locations for the ones that cannot be found above manually in
the bpmn file, it starts up fine. The problem is however everytime something is changed
and saved on the diagram editor, the schema locations are put back into the file.
Does anyone know a way around this issue ?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/775761#775761]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]