A quick patch could be to check for xalan2 with:

<available classname="org.apache.xalan.tansformer.TransformerImpl"
property="trax.impl.present"/>

otherwise, something like:
<available
resource="/METAINF/services/javax.xml.transform.TransformerFactory"
property="trax.impl.present"/>

-- 
 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: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 13, 2001 9:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: cvs commit:
> jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional
> AbstractXSLTLiaisonTest.java
> 
> 
> One thing I didn't manage to fix with this patch is that it always
> tries to run the TraxLiaisonTest.
> 
> The file gets compiled as I have the TraX interfaces in my CLASSPATH
> (via jaxp.jar) but I usually don't have a TraX implementation there -
> does anybody have an idea how we could check for a TraX implementation
> as opposed to the interfaces to skip the test if we cannot find one?
> 
> Stefan
> 

Reply via email to