ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <>
Subject Re: xmlproperties task
Date Mon, 25 Feb 2008 12:21:26 GMT
On Fri, 2008-02-22 at 14:56 -0800, Bruce Atherton wrote: 
> What I think you are missing is that the XML hierarchy translates into 
> the name of the property. This is true whether you use Semantic 
> Attributes or not, since they do not alter the name.

Hmm, then I misunderstood 
"Semantic Attributes
id: The property is associated with the given id value."

For me that sounds (and actually IMO makes awfully lot of sense) that if
I use @id, the property will use this id as name.

Then the java xml files from properties.loadFromXML(...) method will not
work with the xmlproperty task either (let alone that they do not even
have a @id), since they look like:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "">

Is there interest to have a java compatible xml properties task, if so I
will likely need to write one for my current project and can submit a

Thanks for your answer Bruce.

Thorsten Scherler                       
Open Source Java                      consulting, training and solutions

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message