DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10562>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10562

Erroneous boolean handling for XML configuration files

           Summary: Erroneous boolean handling for XML configuration files
           Product: Avalon
           Version: unspecified
          Platform: Other
               URL: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9628
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Originally filed as a bug against James. 

In XML configuration fields, only lowercase values for true and false are accepted.  
Anything else will default to false.

The class org.apache.avalon.framework.configuration.AbstractConfiguration 's method 
getValueAsBoolean(...) checks only for a case-sensitive "true" or "false".  
This method should check for (at least) all the standard XML booleans in a 
case-insensitive fashion.  So this bug should be re-filed against the Avalon.
Framework.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to