Thread: [Xsltforms-support] How to support IE
Brought to you by:
alain-couthures
From: Mark S. <m_s...@ma...> - 2012-02-02 08:26:57
|
Hi, I have set up an XSLTForms application on my machine using MAMP as the host. My XForms works beautifully in every browser I try with the exception of IE (8 & 9). It looks as though the client-side XSLT just doesn't get called. Can anyone point me at documentation that explains what I need to do to to get my form to work in IE 8 & 9. Thanks in advance for any advice. Mark |
From: William D. V. <wi...@bi...> - 2012-02-02 14:10:47
|
Hi Mark, The mosto common issue with Internet Explorer is that it doesn't support application/xthml+xml Content Type. If your XForms are .xhtml files, check that your server sends them as text/xml o application/xml Content Type. Another quick solution is to change the file extension to xml and it will work. Hope this helps On 02.02.2012 03:26, Mark Seaborne wrote: > Hi, > > I have set up an XSLTForms application on my machine using MAMP as > the host. My XForms works beautifully in every browser I try with the > exception of IE (8 & 9). It looks as though the client-side XSLT just > doesn't get called. Can anyone point me at documentation that > explains > what I need to do to to get my form to work in IE 8 & 9. Thanks in > advance for any advice. > > Mark > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft > developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, > MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support -- William David Velasquez Laboratorio de Software Bitlab http://bitlab.com.co Movil 310 412 0218 |
From: Alain C. <ala...@ag...> - 2012-02-02 20:04:08
|
Hello Mark, This is probably a mime-type problem because IE is checking them before applying the transformation. With IE9 you can use the F12 debugger to capture network traffic and look at effective mime-types. Depending on your Apache version, there is a mime.types file in the conf directory that should contain this uncommented line: application/xml xml xsl Thank you for your feedbacks! -Alain Le 02/02/2012 09:26, Mark Seaborne a écrit : > Hi, > > I have set up an XSLTForms application on my machine using MAMP as the host. My XForms works beautifully in every browser I try with the exception of IE (8& 9). It looks as though the client-side XSLT just doesn't get called. Can anyone point me at documentation that explains what I need to do to to get my form to work in IE 8& 9. Thanks in advance for any advice. > > Mark > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |
From: Mark S. <m_s...@ma...> - 2012-02-02 20:23:26
|
Hi, Thanks Alain and William for the tips. I have now got the XSLT and XHTML served with the MIME type application/xml. I have also tried XHTML with the mime type application/xhtml+xml. It hasn't helped though, the transform isn't being executed in IE9. I have checked using the F12 tool and the mime types are reported as set. No problems at all with the form in Safari, Firefox or Chrome. I can't help wondering if I'm missing something else. Best wishes Mark On 2 Feb 2012, at 20:03, Alain Couthures wrote: > Hello Mark, > > This is probably a mime-type problem because IE is checking them before applying the transformation. > > With IE9 you can use the F12 debugger to capture network traffic and look at effective mime-types. > > Depending on your Apache version, there is a mime.types file in the conf directory that should contain this uncommented line: > > application/xml xml xsl > > Thank you for your feedbacks! > > -Alain > > Le 02/02/2012 09:26, Mark Seaborne a écrit : >> Hi, >> >> I have set up an XSLTForms application on my machine using MAMP as the host. My XForms works beautifully in every browser I try with the exception of IE (8& 9). It looks as though the client-side XSLT just doesn't get called. Can anyone point me at documentation that explains what I need to do to to get my form to work in IE 8& 9. Thanks in advance for any advice. >> >> Mark >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support >> > > |
From: Leigh L K. Jr <lei...@xe...> - 2012-02-02 23:51:06
|
Mark, Try this one: http://xformstest.org/klotz/2011/08/pizza/pizza.xml It works for me in IE8. It's using xsltforms-522. Leigh. On 02/02/2012 12:23 PM, Mark Seaborne wrote: > > Hi, > > Thanks Alain and William for the tips. > > I have now got the XSLT and XHTML served with the MIME type > application/xml. I have also tried XHTML with the mime type > application/xhtml+xml. > > It hasn't helped though, the transform isn't being executed in IE9. I > have checked using the F12 tool and the mime types are reported as set. > > No problems at all with the form in Safari, Firefox or Chrome. > > I can't help wondering if I'm missing something else. > > Best wishes > > Mark > > > On 2 Feb 2012, at 20:03, Alain Couthures wrote: > > > Hello Mark, > > > > This is probably a mime-type problem because IE is checking them > before applying the transformation. > > > > With IE9 you can use the F12 debugger to capture network traffic and > look at effective mime-types. > > > > Depending on your Apache version, there is a mime.types file in the > conf directory that should contain this uncommented line: > > > > > application/xml xml xsl > > > > Thank you for your feedbacks! > > > > -Alain > > > > Le 02/02/2012 09:26, Mark Seaborne a écrit : > >> Hi, > >> > >> I have set up an XSLTForms application on my machine using MAMP as > the host. My XForms works beautifully in every browser I try with the > exception of IE (8& 9). It looks as though the client-side XSLT just > doesn't get called. Can anyone point me at documentation that explains > what I need to do to to get my form to work in IE 8& 9. Thanks in > advance for any advice. > > >> > >> Mark > >> > >> > ------------------------------------------------------------------------------ > >> Keep Your Developer Skills Current with LearnDevNow! > >> The most comprehensive online learning library for Microsoft > developers > >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, > MVC3, > >> Metro Style Apps, more. Free future releases when you subscribe now! > >> http://p.sf.net/sfu/learndevnow-d2d > >> _______________________________________________ > >> Xsltforms-support mailing list > >> Xsl...@li... > >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support > >> > > > > > > > ------------------------------------------------------------------------------ > > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |
From: William D. V. <wi...@bi...> - 2012-02-03 13:36:12
|
Maybe the proceesing instruction <?xml-stylesheet href="build/xsltforms.xsl" type="text/xsl"?> has a typo in your xforms. Some browsers don't need the ? for closing processing instructions, so they will recognize this: <?xml-stylesheet href="build/xsltforms.xsl" type="text/xsl"> without the ? before > as a valid processing instruction. Check it. Also make sure you clear the browser cache after changing the mime types in your server. I'll be helpful if you can send a test case here. Bill On 02.02.2012 15:23, Mark Seaborne wrote: > Hi, > > Thanks Alain and William for the tips. > > I have now got the XSLT and XHTML served with the MIME type > application/xml. I have also tried XHTML with the mime type > application/xhtml+xml. > > It hasn't helped though, the transform isn't being executed in IE9. I > have checked using the F12 tool and the mime types are reported as > set. > > No problems at all with the form in Safari, Firefox or Chrome. > > I can't help wondering if I'm missing something else. > > Best wishes > > Mark > > > On 2 Feb 2012, at 20:03, Alain Couthures wrote: > >> Hello Mark, >> >> This is probably a mime-type problem because IE is checking them >> before applying the transformation. >> >> With IE9 you can use the F12 debugger to capture network traffic and >> look at effective mime-types. >> >> Depending on your Apache version, there is a mime.types file in the >> conf directory that should contain this uncommented line: >> >> application/xml xml xsl >> >> Thank you for your feedbacks! >> >> -Alain >> >> Le 02/02/2012 09:26, Mark Seaborne a écrit : >>> Hi, >>> >>> I have set up an XSLTForms application on my machine using MAMP as >>> the host. My XForms works beautifully in every browser I try with the >>> exception of IE (8& 9). It looks as though the client-side XSLT just >>> doesn't get called. Can anyone point me at documentation that >>> explains what I need to do to to get my form to work in IE 8& 9. >>> Thanks in advance for any advice. >>> >>> Mark >>> >>> >>> ------------------------------------------------------------------------------ >>> Keep Your Developer Skills Current with LearnDevNow! >>> The most comprehensive online learning library for Microsoft >>> developers >>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, >>> MVC3, >>> Metro Style Apps, more. Free future releases when you subscribe >>> now! >>> http://p.sf.net/sfu/learndevnow-d2d >>> _______________________________________________ >>> Xsltforms-support mailing list >>> Xsl...@li... >>> https://lists.sourceforge.net/lists/listinfo/xsltforms-support >>> >> >> > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft > developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, > MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support -- William David Velasquez Laboratorio de Software Bitlab http://bitlab.com.co Movil 310 412 0218 |
From: Mark S. <m_s...@ma...> - 2012-02-03 17:59:15
|
Hi, Thanks, Alain, Leigh and Bill for help and suggestions, it is very much appreciated. Alain suggested that I put a nocss instruction in options, which did the trick. So now the form loads in IE9, though it is remarkably slower than in Firefox, Chrome and Safari. Best wishes Mark On 3 Feb 2012, at 13:36, William David Velasquez wrote: > Maybe the proceesing instruction <?xml-stylesheet > href="build/xsltforms.xsl" type="text/xsl"?> has a typo in your xforms. > Some browsers don't need the ? for closing processing instructions, so > they will recognize this: > > <?xml-stylesheet href="build/xsltforms.xsl" type="text/xsl"> without > the ? before > > > as a valid processing instruction. > > Check it. Also make sure you clear the browser cache after changing the > mime types in your server. > > I'll be helpful if you can send a test case here. > > > Bill > > > On 02.02.2012 15:23, Mark Seaborne wrote: >> Hi, >> >> Thanks Alain and William for the tips. >> >> I have now got the XSLT and XHTML served with the MIME type >> application/xml. I have also tried XHTML with the mime type >> application/xhtml+xml. >> >> It hasn't helped though, the transform isn't being executed in IE9. I >> have checked using the F12 tool and the mime types are reported as >> set. >> >> No problems at all with the form in Safari, Firefox or Chrome. >> >> I can't help wondering if I'm missing something else. >> >> Best wishes >> >> Mark >> >> >> On 2 Feb 2012, at 20:03, Alain Couthures wrote: >> >>> Hello Mark, >>> >>> This is probably a mime-type problem because IE is checking them >>> before applying the transformation. >>> >>> With IE9 you can use the F12 debugger to capture network traffic and >>> look at effective mime-types. >>> >>> Depending on your Apache version, there is a mime.types file in the >>> conf directory that should contain this uncommented line: >>> >>> application/xml xml xsl >>> >>> Thank you for your feedbacks! >>> >>> -Alain >>> >>> Le 02/02/2012 09:26, Mark Seaborne a écrit : >>>> Hi, >>>> >>>> I have set up an XSLTForms application on my machine using MAMP as >>>> the host. My XForms works beautifully in every browser I try with the >>>> exception of IE (8& 9). It looks as though the client-side XSLT just >>>> doesn't get called. Can anyone point me at documentation that >>>> explains what I need to do to to get my form to work in IE 8& 9. >>>> Thanks in advance for any advice. >>>> >>>> Mark >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Keep Your Developer Skills Current with LearnDevNow! >>>> The most comprehensive online learning library for Microsoft >>>> developers >>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, >>>> MVC3, >>>> Metro Style Apps, more. Free future releases when you subscribe >>>> now! >>>> http://p.sf.net/sfu/learndevnow-d2d >>>> _______________________________________________ >>>> Xsltforms-support mailing list >>>> Xsl...@li... >>>> https://lists.sourceforge.net/lists/listinfo/xsltforms-support >>>> >>> >>> >> >> >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft >> developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, >> MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > -- > William David Velasquez > Laboratorio de Software Bitlab > http://bitlab.com.co > Movil 310 412 0218 > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support |