I am facing the same issue where i am getting <xmltask> subtasks failed to 
find matches ..error . 
My xml task is below . 

<xmltask source="ejb-jar.xml" dest="ex1-ejb-jar.xml" failWithoutMatch="true">
      <insert path="//*[local-name()='ejb-jar']/enterprise-beans/message-driven
[last()]" position ="after" file="templateGenEjb_jar.xml"/>
     </xmltask>  
Ejb-jar.xml has this namespace in the begining .
<ejb-jar id="EjbModule_1" version="2.1" 
xmlns="http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/ 
<http://java.sun.com/xml/ns/j2ee> 

if i make it as <ejb-jar id="EjbModule_1" version="2.1" > this works.
The suggestion beolw didnt work . 



------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to