All, I have written a few xsl templates that are packaged as part of the ear file. The ear is deployed on jboss and weblogic server running on windows and unix platforms. In the xsl templates, I have a few calls to read an external configuration (XML) file via the document command. See the example below
<xsl:variable name="root" select="document($loc)" /> The variable $loc that is passed into the document command above is a directory location on the server. For NT, it may be d:\config\Reports.xml and for unix platform it may be /usr/configs/Reports.xml. The problem is document location works fine on the NT platform. It can read the config file from the disk and perform the required operation. However, on the unix platform I get the following errors: can not load requested doc: file "zip:/usr/config/Reports.xml" not found. Now, my question is why does xsl behaviour change on the unix platform? Morever, why is it looking for the Reports.xml file in the zip file? How can I solve this problem? This is a very critical issue that I'm trying to resolve ASAP. I would appreciate any solutions to this problem.
