ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 3087] New: - relative address REDIRECT in an XSLT file processed by TRAX on an NT machine
Date Fri, 10 Aug 2001 17:18:51 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

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

*** shadow/3087	Fri Aug 10 10:18:51 2001
--- shadow/3087.tmp.15378	Fri Aug 10 10:18:51 2001
***************
*** 0 ****
--- 1,33 ----
+ +============================================================================+
+ | relative address REDIRECT in an XSLT file processed by TRAX on an NT machi |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3087                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Major                    OS/Version: Other                   |
+ |     Priority: Other                     Component: Optional Tasks          |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: mike@slac.com                                                |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ To replicate this problem, do the following:
+ 1) Platform: NT-box.  This problem didn't seem to happen on a Linux-box.  It 
+ probably happens on all Window boxes... but I only saw this on an NT box.
+ 2) XSLT file with a 'redirect' extention.  The filename that it points to should 
+ be a relative address.
+ 3) ANT build.xml file has a target that processes this XSLT file using the TRAX 
+ processor.
+ 
+ It should give you a TransformerException error when it hits the REDIRECT 
+ extension.
+ 
+ The problem, I think, is caused by the code in TraxLiaison.java where it 
+ prepends each filename with "file:".  It should be "file:///" or possibly 
+ nothing at all.  I got the source, changed it to "file:///" and it worked 
+ perfectly.  Note, the XalanLiaison.java class ALSO does this, however it doesn't 
+ seem to cause the same problem.  Seems Linux forgives this "file:" format, while  
+ Windows NT does not.
\ No newline at end of file

Mime
View raw message