** Changed in: zorba
     Assignee: (unassigned) => Matthias Brantner (matthias-brantner)

** Changed in: zorba
    Milestone: None => 2.2

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:

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:

Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to