Summary: | XmlProperty doesn't allow propertvalues with only space(s) | ||
---|---|---|---|
Product: | Ant | Reporter: | Gilbert Rebhan <Gilbert.Rebhan> |
Component: | Core tasks | Assignee: | Ant Notifications List <notifications> |
Status: | NEW --- | ||
Severity: | normal | Keywords: | PatchAvailable |
Priority: | P2 | ||
Version: | 1.7.1 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows Server 2003 | ||
Attachments: | XmlProperty.java.diff.txt |
Description
Gilbert Rebhan
2009-06-17 04:28:10 UTC
just checked on my private machine - OpenSUSE 11.1/64bit with jdk 1.5.0_18 and jdk 1.6.0_13 and the same propertyfiles, means <xmlkey> <xmlkey/> and txtkey=*blank* but the patch has no impact, still the same output !? Using a " " property may not be of practical importance, but the behaviour should be the same for txtproperty and xmlproperty, it is, but diametrical = on my LinuxBox (jdk 5 +6, the same behavior already with ant 1.6.5) [echo] ${xmlkey} == ${xmlkey} [echo] ${txtkey} == ${txtkey} [echo] xmlkey not set [echo] txtkey not set and on Windows and AIX (jdk 5 + 6) [echo] ${xmlkey} == [echo] ${txtkey} == [echo] xmlkey set [echo] txtkey set maybe a 32bit <> 64bit issue ? Right now i have no 32bit Linux around to check .. Can someone confirm my investigations ? |