forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diego Guebel" <>
Subject RE: [issues] New comment: (FOR-15) supporting xhtml/css (as per in project directory tree
Date Tue, 20 Jul 2004 20:27:14 GMT
Hi, you need to add that code to your forrestĀ“s sitemap.xmap

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

And then change <map:serializers default="html"> to <map:serializers default="xhtml">

-----Mensaje original-----
De: [] 
Enviado el: Viernes, 16 de Julio de 2004 05:26 a.m.
Asunto: [issues] New comment: (FOR-15) supporting xhtml/css (as per in project
directory tree

The following comment has been added to this issue:

     Author: David Crossley
    Created: Fri, 16 Jul 2004 10:21 AM
I burrowed into the mail archives to find Marshall's email thread on this topic ...
XHTML compliance

While i was in there found this ...
Serving XHTML with Cocoon

Beware, serving xhtml is a horrid nightmare thanks to browser inconsistencies.

View the issue:

Here is an overview of the issue:
        Key: FOR-15
    Summary: supporting xhtml/css (as per in project directory tree
       Type: New Feature

     Status: Unassigned
   Priority: Major

    Project: Forrest
  Component: Core operations
    Fix For: 0.6

   Reporter: Ralf Hauser

    Created: Sat, 11 Jan 2003 2:03 AM
    Updated: Tue, 13 Jul 2004 1:37 PM

In order to use the sanity checks on xhtml11 and css2, I need html files to start
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.1//EN" "">
<html xmlns="" xml:lang="en"> <head> ...

The only place I found a reference to "HTML 4.01 Transitional//EN..." in the myproject directory
tree was in build\tmp\context\sitemap.xmap which had no effect.
1) I had to change it in xml-forrest\build\dist\shbat\context\sitemap.xmap which doesn't appear
to be the right place to me.
2) In which file would I have to change "DOCTYPE HTML PUBLIC" to "DOCTYPE html PUBLIC"? 
3) Where would I change "META" to "meta"? XHTML doesn't like caps.
4) The end tags need to be `" />` instead of `">` where would one change that?
5) Where would I change the margin attributes of the "body" tag?
6) Where would I change the attributes of the "td" tag?
etc., etc.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message