[
https://issues.apache.org/jira/browse/OOZIE-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648370#comment-16648370
]
Satish Subhashrao Saley commented on OOZIE-3367:
------------------------------------------------
bq. {color:#FF0000}-1{color} the patch contains 1 line(s) longer than 132
characters
Updated patch to solve this.
> Using && in EL expressions in oozie bundle.xml files generates parse errors
> ---------------------------------------------------------------------------
>
> Key: OOZIE-3367
> URL: https://issues.apache.org/jira/browse/OOZIE-3367
> Project: Oozie
> Issue Type: Bug
> Reporter: Satish Subhashrao Saley
> Assignee: Satish Subhashrao Saley
> Priority: Major
> Attachments: OOZIE-3367-1.patch, OOZIE-3367-2.patch
>
>
> [[email protected]]reported -
> I need to put a logical AND into an expression in an oozie bundle (in the
> enabled flag on the coordinator). When I try "{{A && B}}", oozie gives me a
> perfectly understandable error about this being invalid XML ({{XML schema
> error, The entity name must immediately follow the '&' in the entity
> reference.}}). But when I try to replace this with an XML entity ({{A &&
> B}}), I get an unexpected error that seems to indicate that a space (or
> something else) is getting injected unexpectedly into my expression:
> {noformat}
> Bundle Job submission Error: [E1004: Expression language evaluation error,
> Encountered "&", expected one of ["}", ".", ">", "gt", "<", "lt", "==", "eq",
> "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "%",
> "mod", "and", "&&", "or", "||", ":", "(", "?"]]
> {noformat}
> Any idea how I can get the expression "A && B" to be parsed correctly in an
> oozie bundle.xml file?
> It turned out to be a bug in Oozie.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)