You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by hi...@jakarta.apache.org on 2004/07/28 15:31:40 UTC

[jira] Commented: (HIVEMIND-29) Contribution of whitespaces are ignored

The following comment has been added to this issue:

     Author: Steve Gibson
    Created: Wed, 28 Jul 2004 6:30 AM
       Body:
I also think assignments like:
<default symbol=test.Symbol" value=""/>
should work. If I want a property set to an empty string by default, I would expect this to be valid.
Also, it means I can safely use the symbol even if there are no other contributions.

I think I symbol should be defined unless there are 0 contributions.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/HIVEMIND-29?page=comments#action_36908

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/HIVEMIND-29

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: HIVEMIND-29
    Summary: Contribution of whitespaces are ignored
       Type: Bug

     Status: Open
   Priority: Major

    Project: HiveMind
 Components: 
             framework
   Versions:
             1.0

   Assignee: Howard M. Lewis Ship
   Reporter: Michael Frericks

    Created: Wed, 28 Jul 2004 12:25 AM
    Updated: Wed, 28 Jul 2004 6:30 AM
Environment: hivemind-1.0-beta-1

Description:
Contributions of whitespaces are ignored:

     <default symbol="test.Symbol" value=" " /> 

used in a Service

		<invoke-factory service-id="hivemind.BuilderFactory">
			<construct
				class="TestServiceImpl">
				<set
					property="testParameter"
					value="${test.Symbol}" />
			</construct>

sets the testParameter to the String '${test.Symbol}'


You can see this too in the hivemind-lib
where empty values for symbol ${java.naming.factory.initial}...
are ignored.



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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