Xerces validator used by Java gets stuck during pattern matching
----------------------------------------------------------------
Key: OOZIE-781
URL: https://issues.apache.org/jira/browse/OOZIE-781
Project: Oozie
Issue Type: Bug
Reporter: Virag Kothari
The regex validator tries to validate the 'workflow-app name' against the
pattern
<xs:pattern value="([a-zA-Z_]([\-_a-zA-Z0-9])*){1,39})"/>. If the 'name' is
very long and doesn't match against the pattern used in schema, it gets stuck
for a
long time and heavily increases the CPU usage.
Specifically the users saw this when they used a period in their wf name
This problem is solved in xerces 2.10.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira