Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


My XSLT solution works on Firefox, not in IE

From: Peter Laman <peter.laman@-----.--->
To: NULL
Date: 4/10/2008 1:30:00 AM
Hello,

A webserver I'm writing is accessed both by "browser clients" for
interactive use and by "program clients" that request XML formatted
data. To streamline error handling, the server always returns errors
in XML format, linked to an XSLT stylesheet for browser display. This
way both browsers and programs can be served error messages the same
way.

One of these error content is as follows:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://notepeter/pow/
protecs.dll/doc?ref=Exception.xsl&fld=tpl"?>
<powxml
  generator="Protecs On The Web"
  fileversion="4.0"
  powurl="http://notepeter/pow/protecs.dll">
  <exception
    message="Invalid use of keyword.&#xA;Token:
%&quot;&#xA;ORDER&#xA;Line Number: 3Aanvullende informatie over BDE
fout: "
    dbierr="$2A12 (Invalid use of keyword.)"
    bdetable="N.V.T."
    processid="0x000005B0 (Decimaal: 1456)"/>
</powxml>

Firefox handles this perfectly, the linked stylesheet is used to
render the data in XHTML format. However, Internet Explorer 6.0 simply
displays the raw XML tree. Further investigation on the server side
shows that it doesn't even request the stylesheet. However if I
request the stylesheet by entering its URL (http://notepeter/pow/
protecs.dll/doc?ref=Exception.xsl&fld=tpl) on the address bar, it
shows up. So the URL is accessible. The question is: why doesn't IE
even request the stylesheet?


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent