invalid regex Block Escapes not reported for ICU

Bug #974474 reported by Paul J. Lucas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Won't Fix
Low
Paul J. Lucas

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 '-'.)

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

The XML Schema Part 2 specification includes the note:

Note: [Unicode Database] is subject to future revision. For example, the mapping from code points to character properties might be updated. All ·minimally conforming· processors ·must· support the character properties defined in the version of [Unicode Database] that is current at the time this specification became a W3C Recommendation. However, implementors are encouraged to support the character properties defined in any future version.

Since the Unicode Database can grow over time, there's no easy way to know what is and isn't legal.

Changed in zorba:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.