Permalink
Browse files

Fix issue #81 treat namespace nodes like attribute nodes

  • Loading branch information...
ndw committed Mar 8, 2013
1 parent 6fa3f85 commit b20a80bc93a0be9085a5ebbd0a03a25920c14022
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/com/xmlcalabash/runtime/XAtomicStep.java
@@ -689,7 +689,8 @@ protected RuntimeValue computeValue(ComputableValue var) {
value += item.getStringValue();
} else {
XdmNode node = (XdmNode) item;
if (node.getNodeKind() == XdmNodeKind.ATTRIBUTE) {
if (node.getNodeKind() == XdmNodeKind.ATTRIBUTE
|| node.getNodeKind() == XdmNodeKind.NAMESPACE) {
value += node.getStringValue();
} else {
XdmDestination dest = new XdmDestination();

0 comments on commit b20a80b

Please sign in to comment.