Ivan:
Have already looked at ConfigurationUtil relative to the JIRA issue. It's a valid issue and something we may want to resolve before the the framework 4.2.0 release.
Stephen.
Ivan Latysh wrote:
Hello!
I submitted it in "The Jira Bug Tracking System" But there are not much activity and I decided to duplicate it here:
[begin] Message:
A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/AVALON-3
Here is an overview of the issue: --------------------------------------------------------------------- Key: AVALON-3 Summary: ConfigurationUtil.toConfiguration adds null string in front of the each Text node Type: Bug
Status: Unassigned Priority: Major
Project: Avalon Framework Components: Implementation
Assignee: Reporter: Ivan Latysh
Created: Fri, 7 May 2004 1:36 PM Updated: Fri, 7 May 2004 1:36 PM Environment: Any environment
Description: This what cause the problem ConfigurationUtil class, line 108 String content = null; where should be String content = "";
because after we are doing content += data.getData(); that cause to add null string in front of the data readed from the node.
A simple test String str = null; str+="some text";
will give "nullsome text"
[end]
With best regards, Ivan Latysh. E-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
|---------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org | |---------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
