Author: mriou
Date: Fri Sep  5 15:05:41 2008
New Revision: 692564

URL: http://svn.apache.org/viewvc?rev=692564&view=rev
Log:
Small bug on attributes with : but no ns

Modified:
    ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/ASSIGN.java

Modified: 
ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/ASSIGN.java
URL: 
http://svn.apache.org/viewvc/ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/ASSIGN.java?rev=692564&r1=692563&r2=692564&view=diff
==============================================================================
--- ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/ASSIGN.java 
(original)
+++ ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/ASSIGN.java 
Fri Sep  5 15:05:41 2008
@@ -481,7 +481,8 @@
                 if (colonIdx > 0) {
                     String prefix = attr.getValue().substring(0, colonIdx);
                     String attrValNs = src.lookupPrefix(prefix);
-                    replacement.setAttributeNS(DOMUtils.NS_URI_XMLNS, 
"xmlns:"+ prefix, attrValNs);
+                    if (attrValNs != null)
+                        replacement.setAttributeNS(DOMUtils.NS_URI_XMLNS, 
"xmlns:"+ prefix, attrValNs);
                 }
             }
         }


Reply via email to