getSequence();
for (int j=0; j<seq.getLength(); j++) {
itemsArray.add(seq.getItem(j+1));
}
} catch (Exception e) {
throw new JXPathException("Cannot evaluate nested expression " +
this.toString());
}
}
Item[] items = (Item[]) itemsArray.toArray(new Item[] {});
result = factory.createSequence(items);