** Changed in: zorba
Status: Fix Committed => Fix Released
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
fn:match fails if the string is non-utf8
Status in Zorba - The XQuery Processor:
I have a query that reads a lot of files and apply fn:match on them.
Some files have non-utf8 characters, and file:read-text reads with no problem.
fn:matches calls to_string to convert to ICU string, but that fails. So
fn:matches returns false, although I think it should raise an error. Actually
to_string should raise an error, otherwise the non-utf8 problem gets unnoticed.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~zorba-coders
Post to : email@example.com
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp