The XML page cannot be displayed. Cannot view XML input using style sheet. Please correct the error and then click

View: New views
2 Messages — Rating Filter:   Alert me  

The XML page cannot be displayed. Cannot view XML input using style sheet. Please correct the error and then click

by Robby Pelssers-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi all,

 

I ran into a strange problem in Internet Explorer.  The problem does not occur when using Firefox or Chrome.  Some googling resulted in following links:

 

http://www.outofcontrol.ca/2009/02/20/w3org-dtdxhtml1-strictdtd-blocks-windows-ie-users/

 

http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic

 

 

But the strange thing is that other pages work just fine in IE.  The only real difference is that I’m using Cocoon Forms.  Setting the type of the serializer to ‘html’ instead of ‘xhtml’ fixed my issue.

The question is:   What might be the real cause of this issue? 

 

Anybody any ideas?

 

Thx in advance,

Robby Pelssers

 

      <map:match pattern="index.jx">

        <map:generate src="page/index.jx" type="jx" />

        <map:transform src="resource/internal/xslt/forms-samples-styling.xsl">

          <map:parameter name="forms-resources" value="{servlet:forms:/resource/external/forms}"/>

          <map:parameter name="dojo-resources" value="{servlet:ajax:/resource/external/dojo}"/>

        </map:transform>

        <!--  REMARK: when using the xhtml serializer i got following exception:

              The XML page cannot be displayed. Cannot view XML input using style sheet. Please correct the error and then click

              the Refresh button, or try again later.

         -->     

        <map:serialize type="html" />

      </map:match>


RE: The XML page cannot be displayed. Cannot view XML input using style sheet. Please correct the error and then click

by Robby Pelssers-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

And for the really fast guys among you which noticed I was using the internal pipeline…    I removed the internal-only attribute ;-)

 

    <map:pipeline id="internal-resource">

      <map:match pattern="resource/internal/**">

        <map:read src="resource/internal/{1}"/>

      </map:match>

    </map:pipeline>

 

From: Robby Pelssers [mailto:robby.pelssers@...]
Sent: Monday, June 22, 2009 4:33 PM
To: users@...
Subject: The XML page cannot be displayed. Cannot view XML input using style sheet. Please correct the error and then click

 

Hi all,

 

I ran into a strange problem in Internet Explorer.  The problem does not occur when using Firefox or Chrome.  Some googling resulted in following links:

 

http://www.outofcontrol.ca/2009/02/20/w3org-dtdxhtml1-strictdtd-blocks-windows-ie-users/

 

http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic

 

 

But the strange thing is that other pages work just fine in IE.  The only real difference is that I’m using Cocoon Forms.  Setting the type of the serializer to ‘html’ instead of ‘xhtml’ fixed my issue.

The question is:   What might be the real cause of this issue? 

 

Anybody any ideas?

 

Thx in advance,

Robby Pelssers

 

      <map:match pattern="index.jx">

        <map:generate src="page/index.jx" type="jx" />

        <map:transform src="resource/internal/xslt/forms-samples-styling.xsl">

          <map:parameter name="forms-resources" value="{servlet:forms:/resource/external/forms}"/>

          <map:parameter name="dojo-resources" value="{servlet:ajax:/resource/external/dojo}"/>

        </map:transform>

        <!--  REMARK: when using the xhtml serializer i got following exception:

              The XML page cannot be displayed. Cannot view XML input using style sheet. Please correct the error and then click

              the Refresh button, or try again later.

         -->     

        <map:serialize type="html" />

      </map:match>