-
Bug
-
Resolution: Done
-
Minor
-
6.x.x
-
-
-
-
-
-
Workaround Exists
-
- Edit and Save the process
-
When you copied a process with "Copy" button in Process Designer, the newly created BPMN2 process doesn't have "xsi:schemaLocation" attribute in "bpmn2:definitions" element. So it produces the following errors:
16:42:23,358 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 2, 687): cvc-elt.1.a: Cannot find the declaration of element 'bpmn2:definitions'. 16:42:23,360 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 45, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'. 16:42:23,361 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 46, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'. 16:42:23,361 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 49, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'. 16:42:23,361 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 50, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'. 16:42:23,361 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 57, 90): cvc-elt.4.2: Cannot resolve 'bpsim:Scenario' to a type definition for element 'bpsim:Scenario'. 16:42:23,361 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 58, 93): cvc-elt.4.2: Cannot resolve 'bpsim:ScenarioParameters' to a type definition for element 'bpsim:ScenarioParameters'. 16:42:23,361 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 59, 151): cvc-elt.4.2: Cannot resolve 'bpsim:ElementParameters' to a type definition for element 'bpsim:ElementParameters'. 16:42:23,362 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 60, 67): cvc-elt.4.2: Cannot resolve 'bpsim:TimeParameters' to a type definition for element 'bpsim:TimeParameters'. 16:42:23,362 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 61, 64): cvc-elt.4.2: Cannot resolve 'bpsim:Parameter' to a type definition for element 'bpsim:ProcessingTime'. 16:42:23,362 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 65, 67): cvc-elt.4.2: Cannot resolve 'bpsim:CostParameters' to a type definition for element 'bpsim:CostParameters'. 16:42:23,362 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 66, 58): cvc-elt.4.2: Cannot resolve 'bpsim:Parameter' to a type definition for element 'bpsim:UnitCost'. 16:42:23,362 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 71, 151): cvc-elt.4.2: Cannot resolve 'bpsim:ElementParameters' to a type definition for element 'bpsim:ElementParameters'. 16:42:23,362 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 72, 73): cvc-elt.4.2: Cannot resolve 'bpsim:ControlParameters' to a type definition for element 'bpsim:ControlParameters'. 16:42:23,363 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 73, 61): cvc-elt.4.2: Cannot resolve 'bpsim:Parameter' to a type definition for element 'bpsim:Probability'. 16:42:23,363 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 78, 151): cvc-elt.4.2: Cannot resolve 'bpsim:ElementParameters' to a type definition for element 'bpsim:ElementParameters'. 16:42:23,363 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 79, 67): cvc-elt.4.2: Cannot resolve 'bpsim:TimeParameters' to a type definition for element 'bpsim:TimeParameters'. 16:42:23,363 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 80, 64): cvc-elt.4.2: Cannot resolve 'bpsim:Parameter' to a type definition for element 'bpsim:ProcessingTime'. 16:42:23,363 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 85, 151): cvc-elt.4.2: Cannot resolve 'bpsim:ElementParameters' to a type definition for element 'bpsim:ElementParameters'. 16:42:23,363 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 86, 73): cvc-elt.4.2: Cannot resolve 'bpsim:ControlParameters' to a type definition for element 'bpsim:ControlParameters'. 16:42:23,363 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 87, 61): cvc-elt.4.2: Cannot resolve 'bpsim:Parameter' to a type definition for element 'bpsim:Probability'. 16:42:23,364 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 92, 131): cvc-elt.4.2: Cannot resolve 'bpsim:ElementParameters' to a type definition for element 'bpsim:ElementParameters'. 16:42:23,364 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 93, 67): cvc-elt.4.2: Cannot resolve 'bpsim:TimeParameters' to a type definition for element 'bpsim:TimeParameters'. 16:42:23,364 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 94, 64): cvc-elt.4.2: Cannot resolve 'bpsim:Parameter' to a type definition for element 'bpsim:ProcessingTime'. 16:42:23,364 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 98, 73): cvc-elt.4.2: Cannot resolve 'bpsim:ControlParameters' to a type definition for element 'bpsim:ControlParameters'. 16:42:23,364 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 9) (null: 99, 61): cvc-elt.4.2: Cannot resolve 'bpsim:Parameter' to a type definition for element 'bpsim:Probability'.
"xsi:schemaLocation" attribute will be recovered once you edit/save the process so the errors will go away.
- is blocked by
-
JBPM-6804 schemaLocation is lost when a process is created by a copy in workbench
- Resolved