Closed Bug 192072 Opened 22 years ago Closed 22 years ago

using a variable in the document() function doesn't work in an xslt

Categories

(Core :: XSLT, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 116755

People

(Reporter: eric.daspet, Assigned: peterv)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b; MultiZilla v1.1.25) Gecko/20021212

In the xslt file I try to open a external document with the document() 
function :

This works as expected if the address is given explictly (like in document
('extern.xml') ). 

If address comes from a variable (like in document($filename) ) then mozilla 
xslt engine doesn't fetch the xml.

I've done a test case at http://www.dreams4net.com/bugzilla/external-
document/test.xml

This xml and xslt has been tested with xsltproc and xslt engine from IE, either 
works correctly so problem seems to be from mozilla's xslt engine and not from 
the testcase.

Reproducible: Always

Steps to Reproduce:
1. load ://www.dreams4net.com/bugzilla/external-document/test.xml in mozilla

Actual Results:  
HTML page with :

Test case result :
This is a what it should output when working : External file is loaded

Expected Results:  
HTML page with :

Test case result : External file is loaded
This is a what it should output when working : External file is loaded

*** This bug has been marked as a duplicate of 116755 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.