forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diego Guebel" <dgue...@datatransfer.com.ar>
Subject RE: [issues] New comment: (FOR-15) supporting xhtml/css (as per validator.w3.org) 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>
			<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
			<encoding>UTF-8</encoding>
		</map:serializer>

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



-----Mensaje original-----
De: issues@cocoondev.org [mailto:issues@cocoondev.org] 
Enviado el: Viernes, 16 de Julio de 2004 05:26 a.m.
Para: dev@forrest.apache.org
Asunto: [issues] New comment: (FOR-15) supporting xhtml/css (as per validator.w3.org) in project
directory tree

The following comment has been added to this issue:

     Author: David Crossley
    Created: Fri, 16 Jul 2004 10:21 AM
       Body:
I burrowed into the mail archives to find Marshall's email thread on this topic ...
XHTML compliance
http://marc.theaimsgroup.com/?t=107154526800002

While i was in there found this ...
Serving XHTML with Cocoon
http://marc.theaimsgroup.com/?t=108001750800003

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

---------------------------------------------------------------------
View the issue:

  http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-15


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

     Status: Unassigned
   Priority: Major

    Project: Forrest
  Component: Core operations
    Fix For: 0.6
   Versions:
             HEAD

   Assignee: 
   Reporter: Ralf Hauser

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

Description:
In order to use the w3c.org sanity checks on xhtml11 and css2, I need html files to start
with:
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 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.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org/jira//Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message