compiled.getContext().updateContext(innerContext);
}
Sequence sequence = xqueryService.execute(compiled, exprContext, false);
ValueSequence newSeq = new ValueSequence();
newSeq.keepUnOrdered(unordered);
boolean hasSupplements = false;
for (int i = 0; i < sequence.getItemCount(); i++) {
//if (sequence.itemAt(i) instanceof StringValue) {
if (Type.subTypeOf(sequence.itemAt(i).getType(),Type.STRING)) {
newSeq.add(new StringValue(((StringValue) sequence.itemAt(i)).getStringValue(true)));