Bug 1083854

Summary: BPMN XML generated by BPMN designer do not follow user specified XML formatting
Product: [Retired] JBoss BPMS Platform 6 Reporter: Václav Chalupa <vchalupa>
Component: Eclipse ToolingAssignee: Robert (Bob) Brodt <bbrodt>
Status: CLOSED WONTFIX QA Contact: Jozef Marko <jomarko>
Severity: low Docs Contact:
Priority: low    
Version: 6.0.0CC: jlindop, kverlaen, mvecera, oskutka
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: 2016-02-05 14:42:15 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Václav Chalupa 2014-04-03 05:58:12 UTC
Description of problem:

BPMN designer ignore user settings for XML files formatting and always use 2 spaces for indentation.

How reproducible:

Set 'Indend using tabs' (or different settings then 2 spaces) in eclipse preferences - XML Files formatting, create process with BPMN designer and see generated BPMN XML.

Actual results:

Generated BPMN XML source file has always 2 spaces for indentation.

Expected results:

Generated BPMN XML source file follows the specified XML formatting settings.

Comment 2 Robert (Bob) Brodt 2016-01-21 18:02:38 UTC
This is probably an issue in the XML serializer used by EMF. I don't think it even knows about the XML editor's preferences; not sure what I can do about that...

Comment 3 Robert (Bob) Brodt 2016-02-05 14:42:15 UTC
There are only a few XML serialization "tweaks" available through the EMF public API; these are not controlled by the XML Editor's preference settings and, as far as I can tell, none of these control whether tab or space indenting is used.

See http://download.eclipse.org/modeling/emf/emf/javadoc/2.4.2/org/eclipse/emf/ecore/xmi/XMLResource.html for more info.

Closing this BZ as Won't Fix