ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@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 Mon, 19 Dec 2005 11:58:42 GMT
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 figure.

no, I'm teasing. It was actually the right thing to do. I just didnt 
attempt it myself as I wasnt sure what would break.

> 
> 
>>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?

> 
>>I'm still going to advocate echo with an encoding and CDATA section
>>for complex XML.
> 
> 
> I have an example of using just that in the <msbuild> manual for the
> 1.6 compatible version.  I don't there has been an encoding attribute
> to echo in Ant 1.6.5, or am I wrong?
> 

Encoding only went in last week.

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


Mime
View raw message