You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Glen Daniels (JIRA)" <ji...@apache.org> on 2007/08/07 05:04:00 UTC

[jira] Created: (AXIS2-3084) Should make inflow/outflow (at least) case insensitive in module.xml

Should make inflow/outflow (at least) case insensitive in module.xml
--------------------------------------------------------------------

                 Key: AXIS2-3084
                 URL: https://issues.apache.org/jira/browse/AXIS2-3084
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: deployment
            Reporter: Glen Daniels
            Assignee: Glen Daniels
            Priority: Minor


Currently the <InFlow> and <OutFlow> elements in module.xml must read EXACTLY that way - in particular <inflow> and <outflow> will not be recognized.

We should make the read of these elements (ModuleBuilder:160 onwards) case-insensitive, IMO, to make things easier on the developer.  <inflow> or <INFLOW> shouldn't fail silently.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3084) Should make inflow/outflow (at least) case insensitive in module.xml

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719148#action_12719148 ] 

Andreas Veithen commented on AXIS2-3084:
----------------------------------------

-1 for making any configuration tags case insensitive. Almost all XML formats are processed in a case sensitive way, and I don't see any valid reason why we would do it differently in Axis2. What would be interesting though is to change the code so that unrecognized elements are reported, or alternatively provide XML schema files so that people can use them to validate configuration files.

> Should make inflow/outflow (at least) case insensitive in module.xml
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3084
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3084
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>            Reporter: Glen Daniels
>            Assignee: Glen Daniels
>            Priority: Minor
>
> Currently the <InFlow> and <OutFlow> elements in module.xml must read EXACTLY that way - in particular <inflow> and <outflow> will not be recognized.
> We should make the read of these elements (ModuleBuilder:160 onwards) case-insensitive, IMO, to make things easier on the developer.  <inflow> or <INFLOW> shouldn't fail silently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-3084) Should make inflow/outflow (at least) case insensitive in module.xml

Posted by "Glen Daniels (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719151#action_12719151 ] 

Glen Daniels commented on AXIS2-3084:
-------------------------------------

I can relate to your way of thinking, Andreas, but in this case I still think doing a case-insensitive search would be better for our users.  Clearly there have already been at least a few occasions (even in some of our own stuff) where we've stumbled across this, and it makes simple typing/memory errors when editing config files much less egregious.  Let me ask it another way - what's the downside to allowing "<inflow>" as well as "<InFlow>"?

This is pretty much "be liberal in what you receive" except this time it's what we're receiving from the config file rather than a wire message.


> Should make inflow/outflow (at least) case insensitive in module.xml
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3084
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3084
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>            Reporter: Glen Daniels
>            Assignee: Glen Daniels
>            Priority: Minor
>
> Currently the <InFlow> and <OutFlow> elements in module.xml must read EXACTLY that way - in particular <inflow> and <outflow> will not be recognized.
> We should make the read of these elements (ModuleBuilder:160 onwards) case-insensitive, IMO, to make things easier on the developer.  <inflow> or <INFLOW> shouldn't fail silently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (AXIS2-3084) Should make inflow/outflow (at least) case insensitive in module.xml

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

Glen Daniels reopened AXIS2-3084:
---------------------------------


Not fixed.

> Should make inflow/outflow (at least) case insensitive in module.xml
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3084
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3084
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>            Reporter: Glen Daniels
>            Assignee: Glen Daniels
>            Priority: Minor
>
> Currently the <InFlow> and <OutFlow> elements in module.xml must read EXACTLY that way - in particular <inflow> and <outflow> will not be recognized.
> We should make the read of these elements (ModuleBuilder:160 onwards) case-insensitive, IMO, to make things easier on the developer.  <inflow> or <INFLOW> shouldn't fail silently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-3084) Should make inflow/outflow (at least) case insensitive in module.xml

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719143#action_12719143 ] 

Deepal Jayasinghe commented on AXIS2-3084:
------------------------------------------

Could you please explain how to do this?

As I mentioned if we are going to treat this as case insensitive then there are a number of combination we can consider, so are you suggesting to consider all of them?

InFlow, INFLOW, inflow etc...

I think if we properly document the correct way, then people will use that. 



Deepal  

> Should make inflow/outflow (at least) case insensitive in module.xml
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3084
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3084
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>            Reporter: Glen Daniels
>            Assignee: Glen Daniels
>            Priority: Minor
>
> Currently the <InFlow> and <OutFlow> elements in module.xml must read EXACTLY that way - in particular <inflow> and <outflow> will not be recognized.
> We should make the read of these elements (ModuleBuilder:160 onwards) case-insensitive, IMO, to make things easier on the developer.  <inflow> or <INFLOW> shouldn't fail silently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AXIS2-3084) Should make inflow/outflow (at least) case insensitive in module.xml

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

Glen Daniels resolved AXIS2-3084.
---------------------------------

    Resolution: Fixed

Fixed in rev 784574.  Please check it out and Andreas, if you feel strongly this isn't the right thing to do, let's discuss and I can revert if necessary.


> Should make inflow/outflow (at least) case insensitive in module.xml
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3084
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3084
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>            Reporter: Glen Daniels
>            Assignee: Glen Daniels
>            Priority: Minor
>
> Currently the <InFlow> and <OutFlow> elements in module.xml must read EXACTLY that way - in particular <inflow> and <outflow> will not be recognized.
> We should make the read of these elements (ModuleBuilder:160 onwards) case-insensitive, IMO, to make things easier on the developer.  <inflow> or <INFLOW> shouldn't fail silently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-3084) Should make inflow/outflow (at least) case insensitive in module.xml

Posted by "Glen Daniels (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719142#action_12719142 ] 

Glen Daniels commented on AXIS2-3084:
-------------------------------------

We just need to iterate over the child elements of moduleElement and find the flows in a case-insensitive way.  Easy fix, just hasn't been done yet.


> Should make inflow/outflow (at least) case insensitive in module.xml
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3084
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3084
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>            Reporter: Glen Daniels
>            Assignee: Glen Daniels
>            Priority: Minor
>
> Currently the <InFlow> and <OutFlow> elements in module.xml must read EXACTLY that way - in particular <inflow> and <outflow> will not be recognized.
> We should make the read of these elements (ModuleBuilder:160 onwards) case-insensitive, IMO, to make things easier on the developer.  <inflow> or <INFLOW> shouldn't fail silently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AXIS2-3084) Should make inflow/outflow (at least) case insensitive in module.xml

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

Deepal Jayasinghe resolved AXIS2-3084.
--------------------------------------

    Resolution: Fixed

Unless we can get the element from Axiom as case insensitive, we can not have this.

 

> Should make inflow/outflow (at least) case insensitive in module.xml
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3084
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3084
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>            Reporter: Glen Daniels
>            Assignee: Glen Daniels
>            Priority: Minor
>
> Currently the <InFlow> and <OutFlow> elements in module.xml must read EXACTLY that way - in particular <inflow> and <outflow> will not be recognized.
> We should make the read of these elements (ModuleBuilder:160 onwards) case-insensitive, IMO, to make things easier on the developer.  <inflow> or <INFLOW> shouldn't fail silently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.