ode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mr...@apache.org
Subject svn commit: r692564 - /ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/ASSIGN.java
Date Fri, 05 Sep 2008 22:05:42 GMT
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);
                 }
             }
         }



Mime
View raw message