commit | d8c33761e42c0b1a7cdbc085d3f408175e56f4b5 | [log] [tgz] |
---|---|---|
author | jmoller <jmoller> | Tue Dec 13 23:53:16 2011 +0000 |
committer | jmoller <jmoller> | Tue Dec 13 23:53:16 2011 +0000 |
tree | 69c9e1cf9134af26b1cf555b6cf4c1912734794e | |
parent | b1f03bae02d93c516026b0504ed493083e37f466 [diff] |
[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))