ant,XMLPropertyでプロパティに空文字列を指定する
<!-- ant task --> <xmlproperty file="hage.properties.xml" semanticattributes="true" keeproot="false" />
<!-- hage.properties.xml --> <hoge> <emptystring></emptystring> </hoge>
とかやってもhoge.emptystringプロパティは定義されない。パースのやりかたを考えるとまあ妥当な仕様ではある。
属性使ってもプロパティが定義できるので、空文字列を入れたいときは
<hoge emptystring=""> </hoge>
などとする。