Using xmltask-v1.15.1.jar, when I set outputter="simple:2", it munges
the header as follows:
<?xml version="1.0" UTF-8standalone="null"?>
I've tried omitting the header and explicitly setting encoding and
standalone, but I can find no combination that works around the problem.
I notice the omitHeader option works with the default outputter. I
really need to use the simple format to get rid of all the empty lines
created by removing and inserting elements.
<xmltask dest="@{folder}/@{module}Descriptor.xml"
outputter="simple:2" omitHeader="yes" report="true">
<fileset dir="@{folder}"
includes="@{module}Descriptor.xml"/>
<remove path="ModuleDescriptor/[EMAIL PROTECTED] =
'${variant}']"/>
<insert path="ModuleDescriptor"
file="@{folder}/variant/@{module}${variant_file_suffix}.xml"/>
</xmltask>
<xmltask dest="@{folder}/ModuleRepository.xml"
outputter="simple" encoding="UTF-8" report="true">
<fileset dir="@{folder}" includes="ModuleRepository.xml"/>
<remove path="Modules/[EMAIL PROTECTED] =
'${mod_name}']"/>
<insert path="Modules"
file="@{folder}/@{module}Descriptor.xml"/>
</xmltask>
Is this a bug? Is there a work around?
Thanks, Mike
PS - Slick task, by the way.
PPS - When I try to search the mail list archives, I always get:
"Timed out waiting for response from Search Server."
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users