Hi,

xmltask generates invalid XML when using JDK 1.5.

Consider the following ant snippet:

<xmltask dest="${build.dir}/test.xml" outputter="simple:4">
    <insert path="/">
        <![CDATA[
            
        ]]>
    </insert>
</xmltask>

This generates the following XML in JDK1.5:



which is not invalid XML!
When I run it using JDK1.4, the following is generated:



which is valid XML.
Any idea what is going wrong?
In addition, I want to avoid these extra namespace declarations. How can I do 
this?

regards,
Maarten








 
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to