config.xml need to allow for nulls, empty string attributes and ability to 
remove references
--------------------------------------------------------------------------------------------

         Key: GERONIMO-1806
         URL: http://issues.apache.org/jira/browse/GERONIMO-1806
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
    Versions: 1.0    
    Reporter: Jeff Genender
 Assigned to: Jeff Genender 
     Fix For: 1.1


config.xml needs to allow for null and empty strings, as well as the ability to 
remove an attribute or reference.  The following seems to be the agreed upon  
syntax to enable this functionality:

1) Normal value
   <attribute name="someAttribute" value="42"/>
   <attribute name="someAttribute">42</attribute>

2) Don't set... constructor args will be injected with java default  
values
   <reference name="TomcatValveChain"/>
   <attribute name="someAttribute"/>
   <attribute name="someAttribute"></attribute>

3) Inject empty string or pass empty string to property editor and  
inject
   <attribute name="someAttribute" value=""/>

4) Inject null
   <attribute name="someAttribute" null="true"/>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to