Hi,
I have changed my site map to include the following xhtml serializer:

<map:serializer name="xhtml" src="org.apache.cocoon.serialization.XMLSerializer" mime-type="text/html" logger="sitemap.serializer.xhtml" pool-grow="2" pool-max="64" pool-min="2">
<doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
</doctype-system>
</encoding>
</indent>
</map:serializer>


Now when i try and load the site in Safari 1.2.1 nothing happens. No error is displayed, and if you view source the page the code is there to be seen, but the page is not being displayed. What is happening here?? The site displays fine in both Netscape 7.1 and Mozilla 1.7a.

I am running on OS X 10.3.3, Apache tomcat 5, cocoon 2.1.4

Peter

On 23 Mar 2004, at 08:59, Jean Pierre LeJacq wrote:

On Tue, 23 Mar 2004, beyaNet Consultancy wrote:

would i be right in thinking that the following sitemap snippet does
not actually turn my document into an xhtml document!?:

<map:serializer logger="sitemap.serializer.html"
mime-type="text/html" name="html" pool-grow="4" pool-max="32"
pool-min="4" src="org.apache.cocoon.serialization.HTMLSerializer">
<doctype-public>-//W3C//DTD XHTML 1.0
Transitional/EN</doctype-public>

<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd</doctype-system>
</map:serializer>

Assuming you have the paths correct, that should do it. Its simple
enough to validate for yourself. Just submit it to the www.w3.org
validator.

The only change you might want to consider is adding:

<media-type>application/xhtml+xml</media-type>

Unfortunately, IE doesn't recognize this so its not particularly
useful. See:

http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801/

--
JP



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to