You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Roman Shaposhnik (JIRA)" <ji...@apache.org> on 2011/09/10 05:55:15 UTC
[jira] [Resolved] (OOZIE-517) OOZIE-100: Character escape inside
coordinator configuration xml
[ https://issues.apache.org/jira/browse/OOZIE-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik resolved OOZIE-517.
------------------------------------
Resolution: Fixed
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira