[jboss-jira] [JBoss JIRA] (JGRP-2046) Order of XSD protocol elements and protocol attributes is arbitrary

Radoslav Husar (JIRA) issues at jboss.org
Wed Apr 13 17:10:00 EDT 2016


    [ https://issues.jboss.org/browse/JGRP-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191514#comment-13191514 ] 

Radoslav Husar commented on JGRP-2046:
--------------------------------------

This is pretty awesome, here is a report I can now make of configuration differences between 3.6.8.Final and 4.0.0-SNAPSHOT:

https://gist.github.com/rhusar/67abf87afdd556700a424b35772ad67a

> Order of XSD protocol elements and protocol attributes is arbitrary
> -------------------------------------------------------------------
>
>                 Key: JGRP-2046
>                 URL: https://issues.jboss.org/browse/JGRP-2046
>             Project: JGroups
>          Issue Type: Enhancement
>    Affects Versions: 3.6.8
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>
> While fixing JGRP-2037 I realized that the order in the XSD is completely random/arbitrary/undefined. The order relies on hash-based collections, undefined order from reflection classes, etc.
> This makes impossible to compare XSDs from other builds or other versions to see what changed.
> Probably the best approach is to sort both collections with classes and collections with attributes.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list