for(int i = 0; i < orderSpecs.length; i++) { Sequence seq = orderSpecs[i].getSortExpression().eval(docs, null); values[i] = AtomicValue.EMPTY_VALUE; if(seq.getLength() == 1) { values[i] = seq.itemAt(0).atomize(); } else if(seq.getLength() > 1) throw new XPathException("expected a single value for order expression " + orderSpecs[i].getSortExpression().pprint() + " ; found: " + seq.getLength()); }
		public Entry(Item item) {			this.item = item;			values = new AtomicValue[orderSpecs.length];		}