ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lenz, Evan" <le...@seattleu.edu>
Subject RE: Setting Xalan's source_location attribute
Date Wed, 30 Apr 2003 15:47:30 GMT
> > Is there a way to set Xalan's source_location attribute to true,
> > when invoked from within Ant?
> 
> In CVS HEAD (and thus in nightly builds or 1.6 in the future) you can,
> but not in any released version of Ant, sorry.

Okay, I downloaded the latest nightly build and modified the following
example (from the manual):

<xslt ...>
  <factory name="org.apache.xalan.processor.TransformerFactoryImpl">
    <attribute name="http://xml.apache.org/xalan/features/source_location"
value="true"/>
  </factory>
</xslt>

But this is the output I got:

BUILD FAILED
/home/www/build.xml:114: java.lang.IllegalArgumentException: Not suppo
rted: http://xml.apache.org/xalan/features/source_location

(I also tried the URI without the "xml." prefix, as it was (probably
incorrectly) listed as "http://apache.org/xalan/features/source_location" on
one page of the Web site; either way I get the IllegalArgumentException.)

Any further help would be appreciated. My ultimate goal is to enable the
xalan:systemId() XSLT extension function.

Thanks,
Evan

Mime
View raw message