Re: Dubious Handling of XML in Ivy

Stefan Bodewig <[email protected]> Mon, 16 Feb 2026 17:00:20 +0100
Newsgroups gmane.comp.jakarta.ant.devel
Message-ID <[email protected]>
On 2026-02-16, Stefan Bodewig wrote:

> On the other hand it believes

> <ivy:ivy-module version="1.0" xmlns:ivy="http://ant.apache.org/ivy/schemas/ivy.xsd">
>   <ivy:info ivy:organisation="myorg" ivy:module="mymodule" />
> </ivy:ivy-module>

> to not be a valid Ivy module.

looking at https://ant.apache.org/ivy/history/2.5.3/ivyfile.html again I
believe this is actually intended and Ivy expects its attributes and
elements to be in the "no namespace" namespace. So you can't declare a
prefix at all.

In a way this is similar to what Ant believes.

So I'll rest my case for now when it comes to the parser.

Stefan