Bug 1048173

Summary: Designer produces XSD-invalid process XML if any node has zero X or Y coordinate
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jiri Locker <jlocker>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Kirill Gaevskii <kgaevski>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: kverlaen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:02:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Locker 2014-01-03 10:19:43 UTC
Description of problem:
In such case the "x" or "y" attribute of Bounds element in BPMNDiagram section is omitted, however these attributes are required as seen here https://github.com/worktokenteam/worktoken/blob/master/bpmn/DC.xsd. Having such process in the project produces error log messages on each project build:

11:01:11,187 ERROR [org.drools.core.xml.ExtensibleXmlParser] (pool-13-thread-1) (null: 58, 48): cvc-complex-type.4: Attribute 'x' must appear on element 'dc:Bounds'.

Version-Release number of selected component (if applicable):
ER7

How reproducible:
-

Steps to Reproduce:
1. open existing process
2. move Start node to the left border of designer canvas
3. save the process (error is logged)
4. build the project to repeat the error message in server log

Actual results:
"x" attribute in Bounds element related to the start node is missing. XML validation error is logged.

Expected results:
"x" attribute should be present and set to "0.0" to keep the process XML valid.

Additional info: