zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #03815
[Bug 867159] Re: fn:match fails if the string is non-utf8
** Branch linked: lp:~zorba-coders/zorba/feature-transcode_streambuf
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867159
Title:
fn:match fails if the string is non-utf8
Status in Zorba - The XQuery Processor:
New
Bug description:
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:
https://bugs.launchpad.net/zorba/+bug/867159/+subscriptions