Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: IE Problem: XPath document() function and HTTPS

From: "Joe Fawcett" <joefawcett@---------.------>
To: NULL
Date: 1/6/2007 1:52:00 PM

"Steve" <Steve@d...> wrote in message 
news:3A15C5CE-0CB3-466C-A571-54A815B4FE69@m......
> Hi,
>
> I'm using browser-based XSL transformations, obtaining XML files that
> specify the corresponding XSL stylesheet to use, all via HTTPS from a Java
> App Server (Tomcat 5.5.20 to be precise).  One of the XSL stylesheets uses
> the XPath document() function to return an XML document.  The href 
> attribute
> associated with the document() function references a servlet on the Java 
> App
> Server that dynamically creates the required XML and returns it.  This 
> works
> fine when the servlet is accessed via HTTP, but fails in IE (6 and 7) when
> the servlet is accessed via HTTPS.  Firefox has no such problems.
>
> I look at the server logs, and the HTTP(S) request initiated by document()
> is being received by the server and XML content returned.  However, IE
> displays the following web page:
>
> The XML page cannot be displayed
>
> Cannot view XML input using XSL style sheet. Please correct the error and
> then click the Refresh button, or try again later.
> --------------------------------------------------------------------------------
>
> The download of the specified resource has failed.
>
> Is there some configuration setting in IE that is preventing this from
> working?  Is there something I need to do to get this going or is this a
> known bug?
>
> Many thanks,
> -Steve
>
IE is stricter on security than Firefox in this matter and treats this as a 
cross domain request as you're using a different protocol. You can sometimes 
fix this by changing cross domain settings in IE, there are a number of 
different sections in the zone security panels.
You could also try the approach of accessing the main XSLT via https.

-- 

Joe Fawcett (MVP - XML)
http://joe.fawcett.name




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