xs:integer has infinite precision. zstring's size_t is usually much smaller.
Hence, I think we have to cast down to size_t and do range checking. If the
integer is too big, the raised exception should be caught and a query location
of the corresponding argument should be added.
Your team Zorba Coders is subscribed to branch lp:zorba.
Mailing list: https://launchpad.net/~zorba-coders
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp