XQueryContext context) {
this.proxy = proxy;
try {
final Sequence seq = expr.eval(proxy);
final StringBuilder buf = new StringBuilder();
final OrderedLinkedList strings = new OrderedLinkedList();
Item item;
for(final SequenceIterator i = seq.iterate(); i.hasNext(); ) {
item = i.nextItem();
strings.add(new OrderedLinkedList.SimpleNode(item.getStringValue().toUpperCase()));
}
for (final Iterator<OrderedLinkedList.SimpleNode> j = strings.iterator(); j.hasNext();)
buf.append((j.next()).getData());
value = buf.toString();
} catch (final XPathException e) {
LOG.warn(e.getMessage(), e); //TODO : throw exception ! -pb
}