Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355645 - targetNamespace and schemaLocation missing in generated XML for process
Summary: targetNamespace and schemaLocation missing in generated XML for process
Status: CLOSED FIXED
Alias: None
Product: BPMN2Modeler
Classification: SOA
Component: UI (show other bugs)
Version: 0.0.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.0.1-M1   Edit
Assignee: Robert Brodt CLA
QA Contact:
URL: https://issues.jboss.org/browse/JBPM-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 06:14 EDT by Robert Brodt CLA
Modified: 2016-09-16 08:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Brodt CLA 2011-08-24 06:14:07 EDT
The process XML generated behing the scenes does not have targetNamespace and schemaLocation for BPMN20.xsd, thus gives warnings when the process is executed.

warnings on console are

(null: 2, 360): cvc-elt.1: Cannot find the declaration of element 'bpmn2:definitions'.
(null: 33, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
(null: 34, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
(null: 37, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
(null: 38, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.


Brian Fitzpatrick added a comment - 19/Jul/11 5:50 PM

So we're looking to make sure that we add:

targetNamespace="http://www.jboss.org/drools"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"

to the <definitions> tag in the diagram model file.

Bob and I were talking about this today and we think we need some kind of extension mechanism to set up runtime-specific bits will be necessary.
Comment 1 Robert Brodt CLA 2012-01-05 15:19:16 EST
Fixed in most recent build
Comment 2 Jozef Marko CLA 2016-09-16 08:19:27 EDT
No more reproducible with  BPMN2 Modeler - 1.2.5.Final-v20160831-1132-B114