[ https://issues.apache.org/jira/browse/XERCESJ-1732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17448462#comment-17448462 ]
Mukul Gandhi edited comment on XERCESJ-1732 at 1/2/22, 5:01 AM: ---------------------------------------------------------------- committed fix for this issue, with svn commit 1896596. The following improvements to XercesJ XML Schema 1.1 xpath 2.0 regex implementation were done, 1) When XPath 2.0 regex flag "x" is provided, only whitespaces within regex are now ignored. Earlier, with this flag character # within regex denoted start of a comment which were also ignored. 2) Earlier, few erroneous characters were considered as escape characters within regex. This has been fixed. 3) Implementation of multi-character escapes ., \s, \S was improved. 4) Implemented the following new multi-character escapes : \i, \I, \c, \C (as defined by the spec). 5) Implementation of unicode block escape expressions, like \p{IsBasicLatin}, \p{IsLatin-1Supplement} was improved. 6) The regex character class subtraction, was implemented for functions fn:replace and fn:tokenize. was (Author: mukul_gandhi): committed fix for this issue, with SVN revision 1895283, superseded by 1895367. > XML Schema 1.1 XPath 2.0 regex non compliance > --------------------------------------------- > > Key: XERCESJ-1732 > URL: https://issues.apache.org/jira/browse/XERCESJ-1732 > Project: Xerces2-J > Issue Type: Bug > Components: XML Schema 1.1 Datatypes, XML Schema 1.1 Structures > Affects Versions: 2.12.1 > Reporter: Mukul Gandhi > Assignee: Mukul Gandhi > Priority: Major > > XercesJ XML Schema 1.1's XPath 2.0 implementation, has minor non compliance > for the implementation of regex syntax (ref, > https://www.w3.org/TR/xquery-operators/#regex-syntax). This affects the XPath > 2.0 function implementations, for fn:matches, fn:replace and fn:tokenize. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org