Hi,

Is this ever going to get fixed?  I've tried any number of ways to get this to 
work, and usually I end up having to put in some sort of file copy with a 
'tail' to get rid of the <xml> header, which is a pretty ugly workaround.

Thanks.

>>> On 03.03.2010 at 13:50, in message
<4b8e692b0200008a00049...@soto.provo.novell.com>, "David Corlette"
<dcorle...@novell.com> wrote: 
> BTW, when I use the default outputter the amount of whitespace in the file 
> gets ridiculously large.
> 
> This is to the tune of increasing a 170K file to 11MB after several edits 
> via xmltask.
> 
>>>> On 27.02.2010 at 04:32, in message <4b88e692.9060...@oopsconsultancy.com>,
> Brian Agnew <br...@oopsconsultancy.com> wrote: 
>> 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
>>>    
> 
> 
> 
> ------------------------------------------------------------------------------
> 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



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to