ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: ant echo problem in cocoon tutorial
Date Mon, 22 Aug 2005 09:53:46 GMT
Ron Wheeler wrote:
> I added the CDATA and it worked, of course. I still wonder how the 
> person who wrote the tutorial made it work.
> 

Actually, ant may have changed its processing instruction handling at 
some point from "ignore" to "reject". Either way, it was broken from the 
start, as the PI was there to tell the ant runtime something.

In ant, 1.6, <echoxml> explicitly pumps out XML to a file; but even that 
doesnt handle inline processing instructions.

<echoxml file="subbuild.xml">
   <project default="foo">
     <target name="foo">
       <echo>foo</echo>
     </target>
   </project>
</echoxml>

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


Mime
View raw message