[
https://issues.apache.org/jira/browse/XERCESC-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Snelson updated XERCESC-1803:
----------------------------------
Attachment: xercesc_3_0_regex_patch
This patch makes the RegularExpression class thread-safe, so that it can be
compiled once and run from multiple threads simultaneously. It also as a
consequence fixes the use of MemoryManager, so that a runtime memeory manager
is always used when executing the regular expression.
A new method RegularExpression::allMatches() is added, which is sufficient for
advanced uses of the RegularExpression class, like implementing XSLT 2.0's
analyze-string.
> Bug fixes and improvements for RegularExpression class
> ------------------------------------------------------
>
> Key: XERCESC-1803
> URL: https://issues.apache.org/jira/browse/XERCESC-1803
> Project: Xerces-C++
> Issue Type: Improvement
> Components: Miscellaneous
> Affects Versions: 3.0.0
> Reporter: John Snelson
> Fix For: 3.0.0
>
> Attachments: xercesc_3_0_regex_patch
>
>
> RegularExpression is not thread safe or consistent with it's use of
> MemoryManager. It's also not quite flexible enough to implement XSLT 2.0's
> analyze-string, and it has bugs in the replace() methods.
> http://www.w3.org/TR/xslt20/#analyze-string
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]