Permalink
Browse files

Close #223 by fixing the bug where the default namespace is accident…

…ally inherited for the parameter name
  • Loading branch information...
ndw committed Aug 29, 2015
1 parent dfbe5c3 commit acdf19b1429d062db830805c17c7f6acedc21a02
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/main/java/com/xmlcalabash/runtime/XAtomicStep.java
@@ -439,7 +439,11 @@ private void parseParameterNode(XProcStep impl, XdmNode pnode) {
QName pname = null;
if (ns == null) {
- pname = new QName(name,pnode);
+ if (name.contains(":")) {
+ pname = new QName(name,pnode);
+ } else {
+ pname = new QName(name);
+ }
} else {
int pos = name.indexOf(":");
if (pos > 0) {

0 comments on commit acdf19b

Please sign in to comment.