ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: svn commit: r357117 - in /ant/core/trunk/src: main/org/apache/tools/ant/util/DOMElementWriter.java testcases/org/apache/tools/ant/util/DOMElementWriterTest.java
Date Tue, 20 Dec 2005 05:16:31 GMT
On Mon, 19 Dec 2005, Steve Loughran <stevel@apache.org> wrote:
> Stefan Bodewig wrote:
>> On Fri, 16 Dec 2005, Steve Loughran <stevel@apache.org> wrote:
>>
>>>ahh, you just obsoleted the chapter on XML processing I wrote
>>>earlier in the week :-(
>> Yeah, I read you had finished it, so that's why I changed the
>> class.  Seriously, I'm sorry, but I really needed NS support.
>> MSBuild not even requires the build file to declare the namespace,
>> it even instist that it has to be the default namespace - go

the last two lines should have read

>> MSBuild not only requires the build file to declare the namespace,
>> it even insist that it has to be the default namespace - go

>> figure.
> 
> no, I'm teasing.

Really?  8-)

>>>actually <echoxml> has some more quirks
>> I didn't touch echoxml, you'll have to modify the task to take
>> advantage of NS support in DOMElementWriter.
> 
> OK, what do I have to turn it on?

DOMElementWriter has a new constructor which you use to tell it
whether you want NS prefixes on elements or attributes.  Default is to
ignore namespaces for backwards compatibility.

Stefan

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


Mime
View raw message