-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Situation
The need to make comparison of XML using version control easily, not having to worry about the order of attributes, as they are always complained with a definition
Example:
<global-property
name="env"
doc:description="environment."
value="dev"/>
is different of:
<global-property
name="env"
value="dev"
doc:description="environment."/>
Solution
Being able to define a property to define the order of the attributes, for example:
<attributesOrder>doc:description,name</attributesOrder>
To order the attributes and put doc:description
, followed by name
as the first and second attribute, and the others be ordered alphabetic.
<global-property
doc:description="environment."
name="env"
value="dev"/>
Alternative
An alternative solution is to use tools specialized in XML comparison.
Additional context
...
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request