I’m new to xmltask, so please forgive me if I’m missing something, but I was hoping to use it to modify some xhtml and it’s outputting invalid xml.  Here’s a repro case of the input:

<html>

        <head>

                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

                <link HREF="dictionary.css" REL="StyleSheet" TYPE="text/css" />

        </head>

        <body>

                <img src="lm_logo.gif" />

                <BR />

                BLAH

        </body>

</html>

 

And after doing <xmltask source="test.html" dest="test2.html"> test2.html comes out like this:

 

 

<html>

       

<head>

<META http-equiv="Content-Type" content="text/html; charset=UTF-8">

               

<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">

               

<link HREF="dictionary.css" REL="StyleSheet" TYPE="text/css">

       

</head>

       

<body>

               

<img src="lm_logo.gif">

                <BR>

                BLAH

        </body>

 

</html>

 

I’m running version 1.16 using Java 1.6.

 

Any ideas?