← Back to team overview

zorba-coders team mailing list archive

[Bug 974474] [NEW] invalid regex Block Escapes not reported for ICU

 

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


Follow ups

References