logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

XHTML 1.1: msg#00247

Subject: XHTML 1.1
Hi list,

I thought I had this issue solved, alas no. OK I have this in sitemap.xmap:

<map:serializer name="html" mime-type="text/xml" src="org.apache.cocoon.serialization.XMLSerializer">
        <doctype-public>-//W3C//DTD XHTML 1.1//EN</doctype-public>
<doctype-system>http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</doctype- system>
        <encoding>UTF-8</encoding>
      </map:serializer>

Now you'll notice that the mime-type is XML as it should be. However this all behaves very differently in different browsers. Safari it crashes, Camino and Mozilla it displays out as text (I'll test IE later), if you look at the source all seems to be well. If you copy paste the source it displays as XHTML should.

OK so this is a HttpHeader issue?



Jason Lane

Developer
Root10 developments




<Prev in Thread] Current Thread [Next in Thread>