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 (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/11 02:03:16 UTC

[jira] [Resolved] (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 resolved OOZIE-781.
---------------------------------

    Resolution: Fixed
    
> 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