xsl-list
[Top] [All Lists]

RE: links don't work when IE transforms local XSL document

2004-10-05 08:41:31
Anton,

Just adding a comment - I just tried to load the files as .xml pointing to a
local .xsl, and there it just works fine. This time I tried it on an
instance of W2K3 Server and IE6 SP1.

The problem you are experiencing were on W2K Pro SP4 (like me)?

Cheers,
<prs/>

-----Original Message-----
From: Passin, Tom [mailto:tpassin(_at_)mitretek(_dot_)org] 
Sent: Tuesday, October 05, 2004 10:15 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] links don't work when IE transforms local XSL document

From: Anton Triest [mailto:anton(_at_)cking(_dot_)be]

What do you mean by "broken"?  Do you mean that the page looks right
but
nothing happens when you click on one of the links?  Or does the page 
not look as expected?


The page looks right, and when I hover the links, the status bar shows 
the correct URL
(file:///C:/.../anchors.xsl#s2) but when I click on one of the links,
IE
shows its errorpage
"The page cannot be displayed" with error msg "Cannot find server or
DNS
Error"
...

I have put a testcase online so everyone who wants can try it out 
(same stylesheet I already posted earlier):

http://users.telenet.be/cking/webstuff/test/anchors/anchors.xsl
http://users.telenet.be/cking/webstuff/test/anchors/test.xml
http://users.telenet.be/cking/webstuff/test/anchors/test.xsl

If you open these links in IE, the anchors work. But if you download
the
files and display
the local copies in IE, they are broken (except for test.xml: that one 
works, although it's exactly the same file as test.xsl, only the name 
is different).
Apart from the broken
links, the pages look perfectly correct (CSS styles included).

I can confirm the behavior you are reporting.  To test whether the problem
is associated with the ".xsl" extension, I changed the extension to
".xml-xsl" on both the test and anchor files (and, of course, the stylesheet
PI). Same results. Sure seems like an IE bug.

I do have a solution though.  I tried a lot of combinations of extensions,
and when both the stylesheet and the test file had a ".xml"
extension, it worked as desired.  This is the only combination that did.

Then I changed the stylesheet PI in the anchors.xml file (nee
anchors.xsl) to point to itself, and bingo!  It works.  The stylesheet
displays itself and the links work.  And it still works in Firefox, too.

Cheers,

Tom P

--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--


<Prev in Thread] Current Thread [Next in Thread>