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:20:47 UTC
[jira] [Created] (IVY-1295) Install task fails to escape markup in
ivy.xml description tags
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
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
[jira] [Resolved] (IVY-1295) Install task fails to escape markup in
ivy.xml description tags
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene resolved IVY-1295.
--------------------------------
Resolution: Duplicate
Fix Version/s: trunk
Assignee: Maarten Coene
This should already be fixed in trunk, could you give it a try to see if it also fixes your problem?
> 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
> Assignee: Maarten Coene
> Priority: Critical
> Fix For: trunk
>
> 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
[jira] [Closed] (IVY-1295) Install task fails to escape markup in
ivy.xml description tags
Posted by "William Hoyle (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Hoyle closed IVY-1295.
------------------------------
Fixed in trunk
> 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
> Assignee: Maarten Coene
> Priority: Critical
> Fix For: trunk
>
> 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
[jira] [Updated] (IVY-1295) Install task fails to escape markup in
ivy.xml description tags
Posted by "William Hoyle (JIRA)" <ji...@apache.org>.
[ 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