forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [issues] New comment: (FOR-15) supporting xhtml/css (as per in project directory tree
Date Thu, 01 Jan 1970 00:00:00 GMT
The following comment has been added to this issue:

     Author: Jeff Turner
    Created: Sun, 12 Jan 2003 8:23 AM
You're right that to get out valid XHTML mainly involves Cocoon work, but all the Cocoon tweaking
would be done in the Forrest sitemap, located at src/resources/conf/sitemap.xmap.  If you
copy this file to your project in src/documentation/, you can test changes to your local project
(actually I'd suggest doing 'forrest run' and then editing build/webapp/sitemap.xmap). Sorry,
I don't have any suggestions on exactly *what* to modify :) IIRC there is an 'xhtml' serializer.
I don't know why we're not using it..

Btw, the actual HTML is produced mostly from  src/resources/skins/common/xslt/html/{site2xhtml,document2html}.xsl.
 If you do 'forrest run', then these can be edited in build/webapp/skins/common/xslt/html/.
For example, that's where the javascript is defined:

<script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript" />


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

   Reporter: Ralf Hauser

    Created: Sat, 11 Jan 2003 2:03 AM
    Updated: Sat, 11 Jan 2003 2:03 AM
Environment: 030110

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