// Resolve the variable name into an ExpandedName, if the variable
// name does not have a prefix then it belongs in no namespace,
// rather than the default namespace.
String variableName = attributes.getValue("variable");
QName variableQName = new ImmutableQName(variableName);
final ExpandedName variableExpandedName =
context.getNamespacePrefixTracker()
.resolveQName(variableQName, null);
// If the sequence only has a single value in then it is not