Wrong.  Results, as you can see, are nothing like what you said; and I
am running with Ant 1.7.1 distro exactly as downloaded from Jakarta. 
I'm running with a clean environment and do not switch XML or other
libraries at the distribution or system level (i.e., I keep a default
env. and my projects modify libs as needed without changing shared
environment).

beyla$ java -jar lib/saxon9.jar -s:modules.xml -xsl:build.xsl
-o:modbuild.xml
Warning: at xsl:stylesheet on line 3 column 52 of build.xsl:
  Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
Error at xsl:for-each on line 183 column 105 of build.xsl:
  XPTY0004: Required item type of second argument of document() is
node(); supplied value
  has item type xs:string
Error at xsl:template on line 78 column 30 of build.xsl:
  XPTY0004: Required item type of second argument of document() is
node(); supplied value
  has item type xs:string
Failed to compile stylesheet. 2 errors detected.
beyla$
          
--- In [email protected], "James Clark" <j...@...> wrote:
>
> I just did a fresh checkout and build on a Linux machine without any
> problems.
> 
> It looks like on your system ant is for some reason using a buggy
version of
> saxon rather than the one included in lib.  Maybe you have an old
version of
> saxon installed in ~/.ant/lib or as a java extension?
> 
> To verify try:
> 
>   java -jar lib/saxon9.jar -s:modules.xml -xsl:build.xsl -o:modbuild.xml
> 
> You will see that it works fine, just give a warning about running
an XSLT
> 1.0 stylesheet with an XSLT 2.0 processor.
> 
> James


Reply via email to