[361056] fn:abs - typeError on sequence
Merged from HEAD
diff --git a/bundles/org.eclipse.wst.xml.xpath2.processor/src/org/eclipse/wst/xml/xpath2/processor/internal/function/FnAbs.java b/bundles/org.eclipse.wst.xml.xpath2.processor/src/org/eclipse/wst/xml/xpath2/processor/internal/function/FnAbs.java
index 78caf48..24da027 100644
--- a/bundles/org.eclipse.wst.xml.xpath2.processor/src/org/eclipse/wst/xml/xpath2/processor/internal/function/FnAbs.java
+++ b/bundles/org.eclipse.wst.xml.xpath2.processor/src/org/eclipse/wst/xml/xpath2/processor/internal/function/FnAbs.java
@@ -121,6 +121,7 @@
 		if (size == 0)
 			return null;
 
+		arg = FnData.atomize( arg );
 		AnyType at = (AnyType) arg.item(0);
 
 		if (!(at instanceof NumericType))