> -----Original Message-----
> From: Yusuf Goolamabbas [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 07, 2001 8:59 AM
> To: [EMAIL PROTECTED]
> Subject: Is there a dependency on XML parser for Ant 1.2
>
> Hi I had posted a query to ant-user and the response I got was to use
> 'fork="yes"' in my java task to workaround this. I had used Ant 1.2
> earlier to write programs using Xerces/Xalan and required no such
> workaround.
>
> After upgrading to Xeces 1.3 and Xalan 2.0, I seem to require this.
>
> Whilst I am okay with the workaround, is there a specific reason for
> this and should we always use fork=yes for java tasks which call
> classes using Xerces/Xalan
That must be due to a classloader / classpath problem I suppose.
IMHO the problem should disappear if you use xerces/xalan for ant instead of jaxp.jar/parser.jar
xalan 2.0 includes the jaxp 1.1 interface and default parser is xerces.
--
St�phane Bailliez
Software Engineer, Paris - France
iMediation - http://www.imediation.com
Disclaimer: All the opinions expressed above are mine and not those from my company.
