Hi, I am trying to map a UUID to an OID according to: http://www.itu.int/ITU-T/asn1/uuid.html
I have the function below, but am getting error messages such as: [FORG0001] Invalid xs:integer cast: "204694913611445129843532382580231358684".
Any suggestions?
Cheers, -carl
declare namespace BI = "java:java.math.BigInteger”;
declare function uuid_oid() { let $uuid := translate(random:uuid(),'-','') let $bigInt := concat('2.25.',BI:new($uuid, xs:int(16) )) return $bigInt
};