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=2832 *** shadow/2832 Thu Jul 26 07:44:29 2001 --- shadow/2832.tmp.16158 Thu Jul 26 07:44:29 2001 *************** *** 0 **** --- 1,37 ---- + +============================================================================+ + | xsltc fail mdoc conf tests not finding docs via relative paths | + +----------------------------------------------------------------------------+ + | Bug #: 2832 Product: XalanJ2 | + | Status: NEW Version: CurrentCVS | + | Resolution: Platform: All | + | Severity: Critical OS/Version: All | + | Priority: Other Component: org.apache.xalan.xsltc | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + xsltc gives errors such as the following on the mdocs tests: + + Translet Error: org.xml.sax.SAXParseException: File + "file:///net/bigblock/files18/tamiro/xml-xalan/test/tests/conf/mdocs01a.xml" not + found. + + when the command + + java org.apache.xalan.xsltc.cmdline.Transform mdocs/mdocs01.xml mdocs01 + + is run from directory + + /net/bigblock/files18/tamiro/xml-xalan/test/tests/conf + + The stylesheet has + + <xsl:apply-templates select="document('mdocs01a.xml')//body"> + + xsltc should be looking for the document 'mdocs01a.xml' in the same directory as + the stylesheet and not in the current directory from which the commandline was + run, which is what it is doing, as shown by the error message.
