[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: RE: links don't work when IE transforms local XSL document
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Tue, 5 Oct 2004 10:41:31 -0500
links don t work
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@xxxxxxxxxxxx] 
Sent: Tuesday, October 05, 2004 10:15 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  links don't work when IE transforms local XSL document

> From: Anton Triest [mailto:anton@xxxxxxxx]
> 
> >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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.