Can you try with the default outputter ? i.e. remove the "outputter" 
attribute ?

On 26/02/2010 23:53, David Corlette wrote:
> Hello all,
>
> I've been using xmltask for some pretty complex stuff, and very recently ran 
> into an issue I can't seem to get around.
>
> Basically, AFAICT the 'omitHeader' attribute is completely ignored. For a 
> task as simple as this:
> <xmltask source="${pkgdir}/tmp/files2.xml" dest="${pkgdir}/tmp/files2.xml"  
> omitHeader="true" outputter="simple:1">
>   <insert path="/PluginPackageFiles" buffer="file"/>
> </xmltask>
>
> one still gets a<?xml...>  header in the output file.
>
> Not only that, when this is run via the Java ProjectHelper (as opposed to 
> command-line Ant), the XML header is corrupted and ends up like this:
> <?xml version="1.0" UTF-8standalone="null"?>
>
> As a result, the next time we try to process that same XML file, xmltask 
> throws an error.
>
> Any ideas?  AFAIK I'm using the latest - downloaded a couple weeks ago.
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Xmltask-users mailing list
> Xmltask-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xmltask-users
>    

-- 
Brian Agnew                  http://www.oopsconsultancy.com
OOPS Consultancy Ltd
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to