You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "William Hoyle (JIRA)" <ji...@apache.org> on 2011/05/24 07:25:47 UTC

[jira] [Updated] (IVY-1295) Install task fails to escape markup in ivy.xml description tags

     [ 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