You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Fintan Bolton (JIRA)" <ji...@apache.org> on 2011/02/01 10:59:28 UTC

[jira] Created: (AMQ-3170) Alphabetical ordering of elements makes config less user-friendly

Alphabetical ordering of elements makes config less user-friendly
-----------------------------------------------------------------

                 Key: AMQ-3170
                 URL: https://issues.apache.org/jira/browse/AMQ-3170
             Project: ActiveMQ
          Issue Type: Improvement
    Affects Versions: 5.4.2
            Reporter: Fintan Bolton


With schema checking enabled (which it now is by default), it becomes necessary to put all XML elements in alphabetic order in the ActiveMQ configuration file. From a usability perspective, this is a nuisance and introduces an elephant trap for users to introduces bugs in their configuration files.

It would be more convenient, if the schema declared all complex types to be xsd:all instead of xsd:sequence, thus eliminating the alphabetic ordering requirement. Explicitly switching off schema checking is not a great solution, because schema checking is a good feature to have enabled and you usually want to leave it switched on.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (AMQ-3170) Alphabetical ordering of elements makes config less user-friendly

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQ-3170.
-------------------------------

    Resolution: Not A Problem

Validation can be disabled via the command line:

bin/activemq console xbean:conf/activemq.xml?validate=false



> Alphabetical ordering of elements makes config less user-friendly
> -----------------------------------------------------------------
>
>                 Key: AMQ-3170
>                 URL: https://issues.apache.org/jira/browse/AMQ-3170
>             Project: ActiveMQ
>          Issue Type: Improvement
>    Affects Versions: 5.4.2
>            Reporter: Fintan Bolton
>
> With schema checking enabled (which it now is by default), it becomes necessary to put all XML elements in alphabetic order in the ActiveMQ configuration file. From a usability perspective, this is a nuisance and introduces an elephant trap for users to introduces bugs in their configuration files.
> It would be more convenient, if the schema declared all complex types to be xsd:all instead of xsd:sequence, thus eliminating the alphabetic ordering requirement. Explicitly switching off schema checking is not a great solution, because schema checking is a good feature to have enabled and you usually want to leave it switched on.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira