ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28340] - Request Trim Attribute on Property Task
Date Mon, 12 Apr 2004 18:21:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28340>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28340

Request Trim Attribute on Property Task





------- Additional Comments From ddevienne@lgc.com  2004-04-12 18:21 -------
Somehow I think cases will crop up where <trim/> with <loadproperties/> will 
not be equivalent to trim="true" on <property>, because <trim/> operates on the

lines of the .properties file, whereas trim="true" would operate on the value 
after parsing of the file.

Consider:
key = value___\
____

Where the underscores are spaces. The value will be 'value   ' (AFAIK), and the 
<trim/> would yield a different result than trim="true". The properties file 
line continuation \ trumps <trim/> basically I think, but I guess I could be 
wrong. --DD

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


Mime
View raw message