I pretty much gave up on trying to figure this out a while ago and just stuck 
with using Firefox to test my code, but now I need for it to work in IE, so I'm 
back...

The response that MarkLogic is sending seems to be for a content type of 
"application/xslt+xml" for the .xsl files and I'm wondering if this is a 
problem for IE, but not for other browsers?

If it is, is there a method I can use to get a content type for the .xsl files 
from MarkLogic that will work for IE as well as the rest of the browsers?

Thanks,
David

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Geert Josten
Sent: Saturday, July 31, 2010 1:43 PM
To: General Mark Logic Developer Discussion
Subject: Re: [MarkLogic Dev General] IE(8), ML and XSLTForms

Hi David,

Sounds reasonable. Browsers can behave quite differently in specific 
situations. You mention that you address the hello example as a .xml file, 
which means it is returned by MarkLogic Server without real processing. I 
suspect that IE could be ignoring an essential response header from the server. 
If you change the extension of the file to .xqy, then if will be processed as 
an xquery. It might require escaping some characters, but you will have the 
opportunity to tweak the response headers manually.

Have you tried putting a tcp tunnel in between to see whether the http traffic 
shows any differences between IE and FF?

Kind regards,
Geert

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Steiner, 
> David J. (LNG-DAY)
> Sent: vrijdag 30 juli 2010 14:46
> To: General Mark Logic Developer Discussion
> Subject: Re: [MarkLogic Dev General] IE(8), ML and XSLTForms
> 
> Sure!
> 
> You can get the XSLTForms download at:
> http://sourceforge.net/projects/xsltforms/files/xsltforms/Beta
> %202/xsltf
> orms-beta2.zip/download
> 
> Extract the files (retain the directory structure and place the files 
> in a ML HTTP App Server root directory.
> 
> There are sample XML files (which use XLSTForms), such as hello.xml in 
> your ML HTTP App Server root directory now.
> 
> Assuming a local installation, for instance:
> http://localhost:8011/hello.xml.
> 
> When I execute this in IE 8, I get: 
> XSLTForms Expception
> --------------------
> Error Initializing:
> 
> TypeError
> 'null' is null and not an object
> 
> When I execute it in Firefox 3.67, it works just fine.
> 
> That is essentially the problem.   
> 
> Now, interestingly, I have apache running, which I modified the 
> httpd.conf file to use the same directory as the root directory for 
> the ML HTTP App Server and when I use it:
> http://localhost/hello.xml with IE 8, it works just fine.
> 
> So, it would appear to me that there's something about using the ML 
> HTTP App Server in conjunction with IE 8.
> 
> Kind regards,
> David
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Geert 
> Josten
> Sent: Friday, July 30, 2010 3:47 AM
> To: General Mark Logic Developer Discussion
> Subject: Re: [MarkLogic Dev General] IE(8), ML and XSLTForms
> 
> Hi David,
> 
> Can you give us some more detail?
> 
> Kind regards,
> Geert
> 
> >
> 
> 
> drs. G.P.H. (Geert) Josten
> Consultant
> 
> Daidalos BV
> Hoekeindsehof 1-4
> 2665 JZ Bleiswijk
> 
> T +31 (0)10 850 1200
> F +31 (0)10 850 1199
> 
> mailto:[email protected]
> http://www.daidalos.nl/
> 
> KvK 27164984
> 
> 
> De informatie - verzonden in of met dit e-mailbericht - is afkomstig 
> van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. 
> Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te 
> verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.
> 
> > From: [email protected]
> > [mailto:[email protected]] On Behalf
> Of Steiner,
> > David J. (LNG-DAY)
> > Sent: donderdag 29 juli 2010 18:57
> > To: [email protected]
> > Subject: [MarkLogic Dev General] IE(8), ML and XSLTForms
> >
> > I'm having an issue with using IE8, to display a XSLTForms
> (either a
> > XML or XQuery version) with at ML HTTP App Server - I get a
> "loading
> > error".  This does not happen with Firefox.
> >
> > Also, it does not happen with Apache using a redirect
> (rewrite) to ML.
> >
> >
> >
> > Anyone else ever experience this?
> >
> >
> >
> > Thanks,
> > David
> >
> >
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
> 
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to