https://bz.apache.org/bugzilla/show_bug.cgi?id=65327
--- Comment #4 from J-F Martel <jfm0...@gmail.com> --- Maybe you have a bug? See POC below, ant 1.10.9 HTH properties.xml <?xml version="1.0" encoding="UTF-8"?> <properties><a sftp.html.dir.prod="/home/${a.sftp.userid.prod}/public_html" sftp.home.dir.prod="/home/${a.sftp.userid.prod}" sftp.userid.prod="foo" sftp.userid.prod2="${a.sftp.userid.prod}" /> </properties> <target name="default"> <xmlproperty file="properties.xml" keeproot="false" rootdirectory="properties" semanticattributes="true" collapseattributes="true" /> <echoproperties format="text" prefix="a."/> </target> Bad result xmlproperty file with semanticattributes="true" : [echoproperties] a.sftp.html.dir.prod=/home/${a.sftp.userid.prod}/public_html [echoproperties] a.sftp.userid.prod=foo [echoproperties] a.sftp.home.dir.prod=/home/${a.sftp.userid.prod} [echoproperties] a.sftp.userid.prod2=foo test.properties a.sftp.html.dir.prod=/home/${a.sftp.userid.prod}/public_html a.sftp.home.dir.prod=/home/${a.sftp.userid.prod} a.sftp.userid.prod=foo <target name="test-variables-propertie"> <property file="test.properties"/> <echoproperties format="text" prefix="a."/> </target> Good result property file: [echoproperties] a.sftp.html.dir.prod=/home/foo/public_html [echoproperties] a.sftp.userid.prod=foo [echoproperties] a.sftp.home.dir.prod=/home/foo xml custom task result: [echoproperties] a.sftp.html.dir.prod=/home/foo/public_html [echoproperties] a.sftp.userid.prod=foo [echoproperties] a.sftp.home.dir.prod=/home/foo [echoproperties] a.sftp.userid.prod2=foo -- You are receiving this mail because: You are the assignee for the bug.