You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Virag Kothari (JIRA)" <ji...@apache.org> on 2012/05/13 06:43:24 UTC

[jira] [Updated] (OOZIE-781) Xerces validator used by Java gets stuck during pattern matching

     [ https://issues.apache.org/jira/browse/OOZIE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Virag Kothari updated OOZIE-781:
--------------------------------


For the patch committed in trunk with this JIRA ID (also available under the same JIRA ID in Apache ReviewBoard system), I grant license to ASF for inclusion in ASF works (as per the Apache License ยง5) 
                
> 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
>            Assignee: 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