Hi Brian,

first of all, thanks a lot for your quick reply. I now tried the
default (outputter definition omitted); the artificial prefix is now
gone, but an empty xmlns definition is added to each newly inserted
element, so I now get this:

<jar-name xmlns="">../atcJPASB.jar</jar-name>

Here's the XML showing that behavior (indentation created manually for
better readability). First, before xmltask processing:

===========

<?xml version="1.0" ?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";
   version="1.0">
       <persistence-unit name="blah" transaction-type="JTA">
         <jta-data-source>jdbc/blahDS</jta-data-source>
        </persistence-unit>
</persistence>

===========

Now after XML task processing (outputter omitted):

===========

<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.0"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";>
    <persistence-unit name="blah" transaction-type="JTA">
      <jta-data-source>java:/blahDS</jta-data-source>
      <jar-name xmlns="">../myJPASB.jar</jar-name>
    </persistence-unit>
</persistence>

===========

Kind regards,

     Holger

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to