Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.7.1
-
None
-
Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
-
None
-
Windows XP, JRE 1.6.0_11
Description
When using certain nested XSL and XML file structures and relative paths within document() calls in select attributes, it is possible for Xalan to incorrectly resolve the relative URI. In the attached test files, test.xml is styled by /xsl/nested/test.xsl, which imports test2.xsl, which makes document() calls.
Example file structure:
/test.xml
/xsl/test2.xsl
/xsl/nested/test.xsl
Error messages:
<PATH>/xsl/test2.xsl; Line #17; Column #49; Cannot load requested doc: <PATH>\xsl\test.xml (The system cannot find the file specified)
<PATH>/xsl/test2.xsl; Line #22; Column #57; Cannot load requested doc: <PATH>\xsl\test.xml (The system cannot find the file specified)