ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Pawson" <dave.paw...@gmail.com>
Subject Re: arg and jvmarg
Date Wed, 16 Apr 2008 13:13:21 GMT
On 16/04/2008, Steve Loughran <stevel@apache.org> wrote:

> > I've given up with the xslt task now;
> > Need it to handle a different parser (xercesImpl) for xIncludes
> > and Apache resolver.jar for catalogs - I don't think
> > the xslt task can hack that?
> >
>
>  -you should be using xercesImpl from ANT_HOME/lib anyway...drop in a new
> version if you want to change that.
>  -resolver.jar is used for catalog resolution; I dont know what happens with
> xincludes
>
>  if xinclude doesnt work when resolver.jar is on the classpath, that's a
> feature to fix...

See the <java example earlier.
Saxon needs the parser specifying with -x command line option?
 <arg line="-x org.apache.xml.resolver.tools.ResolvingXMLReader"/>
   <arg line="-y org.apache.xml.resolver.tools.ResolvingXMLReader"/>
   <arg line="-r org.apache.xml.resolver.tools.CatalogResolver "/>
I don't think (I'm not 100% sure though) it is available using a -D
system property.
Since <xslt/> task doesn't allow for 'command line' arguments of this type,
I don't think I can get it to work?

There is also an outsanding bug relating to Saxon
linked from a page with a solution
http://vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/
so it's all looking a bit messy?

I tried it with Xalan but that seems not to support the parser selection using
the <factory/> child :-)

regards



-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message