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

William Hoyle updated IVY-1295:
-------------------------------

    Attachment: test-install.zip

Attached minimal ant build to demonstrate the problem. The build attempts to 
install a text file from the repository directory "from" into the repository 
directory "to".

After install the ivy.xml files in the cache and the "to" repository are both 
badly formed.

> Install task fails to escape markup in ivy.xml description tags
> ---------------------------------------------------------------
>
>                 Key: IVY-1295
>                 URL: https://issues.apache.org/jira/browse/IVY-1295
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant, Core
>    Affects Versions: 2.2.0
>            Reporter: William Hoyle
>            Priority: Critical
>         Attachments: test-install.zip
>
>
> XmlModuleDescriptorUpdater is not escaping markup characters like &, < etc.
> XmlModuleDescriptorUpdater.UpdaterHandler is ignoring startCDATA() and 
> startEntity() notifications and characters() simply writes out strings 
> unescaped.
> This can lead to broken xml in installed modules descriptors. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to