Hi Chistian,
I am trying to use a very Big Integer in BaseX (9.1.2)
With this value : declare namespace BigInteger = "java:java.math.BigInteger";
BigInteger:new("12345678901234567890”)
I received : Cannot convert xs:string to xs:integer: "12345678901234567890”.
The java method that I used returns a BigInteger, but I just need the value as a String.
I tried : BigInteger:toString(BigInteger:new("12345678901234567890”)) without success (same error)
Is there a workaround to this behaviour ? without writing a Java class.
Thank you in advance André