You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Craeg K Strong <cs...@arielpartners.com> on 2002/05/25 03:02:08 UTC

[PATCH] XMLCatalogTest.java

Hello:

Attached please find a patch that fixes the failing assertions you
found in XMLCatalogTest.java

What happened: Ant has its own toURL() routine called FileUtils:getFileURL(File)

The algorithm used yields slightly different results than that of 
java.io.File.toURL()

but only on Windoze.

Although the URLs are different, both seem to work.  Anyway, I just changed the
code to use FileUtils.getFileURL instead of java.io.File.toURL

Of course, I am submitting this on the optimistic assumption that the 
aforementioned JAXP jar issue will be resolved :-)

Thanks,

--Craeg