You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/11/06 17:47:44 UTC

DO NOT REPLY [Bug 4678] New: - redir puts file in input directory instead of output directory

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=4678>.
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=4678

redir puts file in input directory instead of output directory

           Summary: redir puts file in input directory instead of output
                    directory
           Product: XalanJ2
           Version: 2.1.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Xalan
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: sander@x-hive.com


When running Xalan with a command like
org.apache.xalan.xslt.Process -IN ../manual/xml/manual/main-document.xml -
XSL ../manual/xsl/manual.xsl -OUT ../build/manual/manual.html -V -DIAG

where manual.xsl has a XSL-tag like
  <redirect:write select="concat('menuFrame_', @id, '.html')">

the files are outputted to the directory where main-document.xml resides, for 
xalans.jar from Xalan 2.1, 2.2.D6, 2.2.D10 and 2.2.D11 (those are the ones I 
tried).

For Xalan 2.0.1, where I want to upgrade from, the redirected files where 
placed in the directory where manual.html is placed, which seems more in sync 
with the documentation, e.g. at 
 http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/Redirect.html
 "they are relative, the base directory will be the same as the base directory 
for the output document."