Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The pattern value for IDENTIFIER in the oozie xml-schema is :
"([a-zA-Z_]([\-_a-zA-Z0-9])*)
(see http://oozie.apache.org/docs/4.0.0/WorkflowFunctionalSpec.html#Oozie_Schema_Version_0.5)
It seems the idea was to limit the length of an identifier to 40 characters. Because of the '*', the limitation doesn't have any effect - strings with arbitrary length will match the pattern. This caused issues like
In order the limit on length to be effective, the '*' should be removed, so the pattern should be:
"[a-zA-Z_]([\-_a-zA-Z0-9]){1,39}
"