ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9706] - "Unknown error in XPath" using the style task with params for multiple files
Date Wed, 12 Jun 2002 22:18:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9706>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9706

"Unknown error in XPath" using the style task with params for multiple files





------- Additional Comments From rainer.garus@arcor.de  2002-06-12 22:18 -------
I have tested the example with another xalan version. With ant 1.4.1 and xalan
2.1.0 the build is successful, with ant 1.4.1 and xalan 2.2D11 I get the
exception. It is possible that it is an error in xalan 2.2D11. I use xalan
2.2D11 because it is used in the development version of fop.

But I have the following problem: Using xalan directly without ant is
successful. I get the exception only in a situation using ant and xalan
together. So I cannot create a bug message for xalan.

If I delete src/a.xml then the transformation of b.xml is successful (then in
the style task with "includes=*.xml" only one file is processed). There is also
no error if I use two style tasks in ant each processing only one file:

    <style basedir="src" includes="a.xml" style="ss.xsl"
           destdir="txt" extension=".txt">
      <param name="pp" expression="123"/>
    </style>
    <style basedir="src" includes="b.xml" style="ss.xsl"
           destdir="txt" extension=".txt">
      <param name="pp" expression="123"/>
    </style>

I get the exception only for the second file which is processed in the style
task with "includes=*.xml" matching several files.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message