distinct-values in Tamino 4.1.4?

Hello,

Does Tamino 4.1.4 finally supports the XQuery
function distinct-values? In an earlier posting
in this forum about 4.1.1 someone mentioned that this is high priority feature for future versions…

Thanks,

Ben

Unfortunately distinct-values() isn’t there yet, apparently. The only functions supported on sequences are avg(), count(), min(), max(), and sum().

Bill

Is this still not supported by Tamino?

Get the following error attempting to use distinct-values on a CentraSite XQuery.


com.softwareag.tamino.db.api.accessor.TXQueryException( message: Error preparing the XQuery (6366, INOXQE6366, Type exception: invalid input for function, Function: distinct-values; line 8, column 8: distinct-values(<object inoId="{tf:getInoId(root($ro))}" las), version: 9.0.0.0.59, java: 1.8.0_51, os: Linux 2.6.32-504.8.1.el6.x86_64 )

the error indicates that the input to the function is not valid, not that the function is not found/not available. Check your XQuery again.

Documentation: [url]http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/tamino/ins97/xqueryref/ref-fn_distinct-values.htm#ref-fn_distinct-values[/url]