Public bug reported:

When using ICU, a query such as:

  fn:matches( "a", "\p{IsBasic-Latin}" )

returns "true" even though it should raise error err:FORX0002 since
IsBasic-Latin is not a valid Block Escape according to:

  http://www.w3.org/TR/xmlschema-2/#charcter-classes

in [36]. (It should be IsBasicLatin -- no '-'.)

** Affects: zorba
     Importance: Low
     Assignee: Paul J. Lucas (paul-lucas)
         Status: Confirmed

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/974474

Title:
  invalid regex Block Escapes not reported for ICU

Status in Zorba - The XQuery Processor:
  Confirmed

Bug description:
  When using ICU, a query such as:

    fn:matches( "a", "\p{IsBasic-Latin}" )

  returns "true" even though it should raise error err:FORX0002 since
  IsBasic-Latin is not a valid Block Escape according to:

    http://www.w3.org/TR/xmlschema-2/#charcter-classes

  in [36]. (It should be IsBasicLatin -- no '-'.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/974474/+subscriptions

-- 
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