• Web Views & IE6

    By Paul S Withers 2 decades ago

    Using the latest release, I'm getting the same error mentioned in another post:



    'Error while parsing "http://mytestserver.com/samples/dwt-0.1.3c.nsf/webViews/xsl_DominoView_StandardTemplates6.xsl". The element 'xsl:stylesheet' is used but not declared in the DTD/Schema."



    I'm using IE6 (release 6.0.2800.1106) and Notes 6.5, trying the f1 view. I tested other views and got the same error. Unfortunately my users will be using IE6.



    I've tried using release 0.1.3a and 0.1.3b, but get the same problem. I'm hoping the resolution is fairly straightforward, but my knowledge of XSL is quite limited, so I have been unable to identify how to declare the xsl:stylesheet in the DTD.



    I would welcome any help as this is an excellent tool.

    • Probably my use of ! instead of ? as

      By Jack Ratcliff 2 decades ago

      I found out recently that Domino 6x doesn't allow for the user of ! in the urls without a server doc setting or a notes.ini setting. To verify that this is what's happening to your server, open a view in the browser and change ?OpenView to !ReadViewEntries and see if it works. If it does not work then this is what's going on.



      Can you check this and get back to me?

      • Tried !ReadViewEntries

        By Paul S Withers 2 decades ago

        Now you mention it, we did come across that problem when upgrading the servers to Notes 6.



        I'm afraid !ReadViewEntries doesn't work, but ?ReadViewEntries does.



        Is it just a case of changing URL references in various pages?

        • Try this

          By Jack Ratcliff 2 decades ago

          Edit the xsl_DominoView_StandardTemplates6.xsl page.



          Change this:





          To this:





          Then do a find and replace on all of these, replacing ! with ?

          !ReadDesign

          !ReadViewEntries

          !OpenView

          !SearchView

          !OpenDocument





          Then, in webViews/common.js (I think it is a page)

          Search for this >> sURL += "!openview" and replace the ! with ?





          My next post of this template will have all of these changes but this should do it for you till the next release.

          • Changing ! to ?

            By Paul S Withers 2 decades ago

            Sorry not to respond sooner - I've had problems connecting to the web today.



            I made the changes you suggested (for anyone reading this, webViews/common.js is in the script libraries), but am still getting the same error message. The line it fails to get past in common/commonXmlFunctions.js is:



            if (_SARISSA_IS_IE) {

                    if (debug) {alert(&quot;before transform - IE&quot;);}<br/>
                    var sResult = xmlDoc.transformNode(xslDoc); &lt;--THIS LINE<br/>
            



            I've had a look through the code and cannot find any other places where ? may be required instead of !.



            Thanks for your prompt responses.

            • Does it work in Firefox?

              By Jack Ratcliff 2 decades ago

              Or any of the Mozilla based browsers?

              • By Paul S Withers 2 decades ago

                It works fine in Firefox and Netscape (used 7.2)

                • What about the outline

                  By Jack Ratcliff 2 decades ago

                  Do outlines work for you? Also, does my online demo work for you?

                  http://jackratcliff.com/jratcliff/dwt/dwt-demo.nsf

                  • Checked outlines and online demo

                    By Paul S Withers 2 decades ago

                    The outlines work on the online demo and database. The calendar popup and WYSIWYG editor also work fine.



                    I'm afraid I get the same error message on the online demo. I've checked through the IE settings, but cannot see anything obvious which could be causing a problem.



                    I've found your xml-xslt database (in the Code Bin - "Using XSLT with domino generated xml (from views and outlines)") and the f1 view there does work for me on IE.



                    Thanks for your patience.

                    • Can you email me?

                      By Jack Ratcliff 2 decades ago



                      Can you email me at jack.ratcliff@gmail.com. I have something I want you to try.

    • I am having the same problem.

      By Michael Freidin 2 decades ago

      I was able to get past this error by adding the line:


      xslDoc.validateOnParse=false;<br/>
      



      to the common/commonXmlFunctions.js script library after the line:


      xslDoc.async = false<br/>
      



      This suppresses the IE6 XSL parser.



      Unfortunately, this leads to another error "The download of the specified resource has failed". I tracked this error to being related to not using the full path (http:// … instead of ../) on all file hrefs. Once I got past that error it led to another error "The system cannot locate the object specified". This error, like the previous one is being generated by the line



      var sResult = xmlDoc.transformNode(xslDoc);



      in the "common/commonXmlFunctions.js" code. I am completely baffled by this latest error.



      Can you offer any guidance?



      Do you have a version of this project that displays views in IE 6.0? I am really encouraged by what I see of the project in Netscape but 90% of my users are IE so I cannot proceed with any solutions that do not support IE at this time. Please advise.



      Thank you for your time.