Hello,
I have the following Xmltask:
<xmltask
source=
"${ivy.repo}/${module.module}/${module.revision}/ivy-${module.revision}.xml"
dest=
"${ivy.repo}/${module.module}/${module.revision}/ivy-${module.revision}.xml"
>
<insert path="/ivy-module/dependencies/dependency"
position="under">
<![CDATA[
<dependency org="" name="]]>${dependency.module}"
<![CDATA[rev="]]>${dependency.revision}<![CDATA[" conf="compile->default"/>
]]>
</insert>
</xmltask>
In the CDATA inserted I need the conf=”compile->default” as it is (Ivy
repository file), however after running the task, the insert is done
correctly, but the > character is replaced (the result):
<dependency conf="compile->default" name="org.eclipse.emf.ecore" org=""
rev="2.8.0"/>
I guess by default you scape < and > to enforce well formatted xml’s, but I
think they should not be replaced if inside a string.
Is there any workaround or fix? Do I have to provide my own outputter ??!!??
Regards,
Horacio Hoyos Rodríguez
EngD Student
University of York
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users