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:21:11 UTC
[jira] [Created] (OOZIE-517) OOZIE-100: Character escape inside
coordinator configuration xml
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
[jira] [Commented] (OOZIE-517) OOZIE-100: Character escape inside
coordinator configuration xml
Posted by "Angelo K. Huang (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (OOZIE-517) OOZIE-100: Character escape inside
coordinator configuration xml
Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
[ 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