[
https://issues.apache.org/jira/browse/OOZIE-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123050#comment-13123050
]
Angelo K. Huang commented on OOZIE-517:
---------------------------------------
The fix is at https://github.com/yahoo/oozie/pull/754
> OOZIE-100: Character escape inside coordinator configuration xml
> ----------------------------------------------------------------
>
> Key: OOZIE-517
> URL: https://issues.apache.org/jira/browse/OOZIE-517
> Project: Oozie
> Issue Type: Bug
> Reporter: Angelo K. Huang
> Assignee: Roman Shaposhnik
>
> I have the job configuration file using hadoop configuration xml format, I
> want to set a url template like this,
> http://yahoo.com/std_xmls_a01?a=yahoo&b=us&offset=0&hits=10
>
> I escaped the & to & in the configuration file,
> <property>
> <name>BING_URL_TEMPLATE</name>
>
> <value>http://yahoo.com/std_xmls_a01?a=yahoo&b=us&offset=0&hits=10</value>
> </property>
> However while running the workflow, it will prompt error saying
> JA007: Error on line 42: The reference to entity "custid2" must
> end with the ';' delimiter.
> I find that it needs to escape twice inside the configuration xml, i.e. & ->
> %amp;amp;, as
> there are two level xml escapes.
--
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