Title: RE: antstructure bombs

mmm..sorry guys, but I don't understand what exactly you are talking about.

Are you talking about xalan 2(2.0.0) or xalan 1 (1.2.2) ?

If you use xalan2, there is a compatibility jar for xalan 1 (xalanj1compat.jar).
This is where is XSLTInputSource.

To have the compatibility jar, you need to download xalan 2 from Apache http://xml.apache.org/xalan-j/

The xalan jar that is given via JAXP 1.1 release (crimson + jaxp + xalan2) does not include the compatibility jar.
Check http://xml.apache.org/xalan-j/usagepatterns.html#compat for more info about the compat jar.

But I don't know if Ant was built with the compatibility jar or with xalan1.
Normally, you should have a 'verify error' if it was built with xalan1 and you try to run it with the compatibility jar.

--
 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.



> -----Original Message-----
> From: Steve Buroff [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 06, 2001 1:11 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: Buroff, Steven
> Subject: RE: antstructure bombs
>
>
> Great - thanks. Maybe ant needs to be updated to
> the latest versions of xalan and xerces.
>
> Steve Buroff
>
> -----Original Message-----
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 06, 2001 7:04 AM
> To: [EMAIL PROTECTED]
> Subject: Re: antstructure bombs
>
>
> Steve Buroff <[EMAIL PROTECTED]> wrote:
>
> > I have ant 1.3. When I try to do an <antstructure>, I get:
> >
> > java.lang.NoClassDefFoundError:
> > org/apache/xalan/xslt/XSLTInputSource
> >
> > Any idea what the problem might be?
>
> I think this class is from Xalan 1.1 - Xalan 1.2 would probably use
> the TraX liaison. I'll have a look at <antstructure> to see why it
> fails.
>
> Stefan
>

Reply via email to