ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: [PATCH] XMLCatalog testcase fix
Date Tue, 03 Dec 2002 14:56:50 GMT
On Tue, Dec 03, 2002 at 03:34:47PM +0100, Stefan Bodewig wrote:
> On 03 Dec 2002, Stefan Bodewig <bodewig@apache.org> wrote:
> 
> > Any idea?
> 
> I found it.
> 
> With the current code, all <xmlcatalog> instances will share the same
> Catalog from resolver's code.  This means that the implicit xmlcatalog
> of <style> knows about the catalog when it shouldn't.
> 
> I've changed the code to always use a new instance of Catalog, I think
> this is how it should be anyway.  The tests now pass for me, commit is
> comming soon.

Great, thanks.  I had worked my way to a similar conclusion, but
involving singleton JAXP URIResolvers.. yours is simpler ;)


--Jeff

> Stefan
> 

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message