[ 
https://issues.apache.org/jira/browse/OOZIE-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alejandro Abdelnur updated OOZIE-517:
-------------------------------------

    Fix Version/s: pre-Apache
    
> 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
>             Fix For: pre-Apache
>
>
> 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&amp;b=us&amp;offset=0&amp;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

        

Reply via email to