The following issue has been updated:
Updater: fabrizio giustina (mailto:[EMAIL PROTECTED])
Date: Sat, 4 Oct 2003 11:48 AM
Comment:
the attached patch makes the jxr plugin generate valid xhtml code.
This fixes all the jsl files, the css stylesheet, and the CodeTransform class.
Code generated by CodeTransform is now validated against the XHTML 1.0 dtd. All the
deprecated elements are removed (no more <font> or <center> tags) and color highlight
is controlled by css.
Changes in the CodeTransform.class include some clean up and javadocs improvement,
other than fixes in the generated code (removed table inside a <pre>, filtered & and
not >)
The patch has been tested with different project and the generated code is fully
validating. Please consider adding this patch before 1.0-rc2 release
Changes:
Attachment changed to xref_valid_xhtml.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-797&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-797
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-797
Summary: Generated html-colored java source is not valid HTML - fails in Opera 6
Type: Bug
Status: Unassigned
Priority: Minor
Time Spent: Unknown
Remaining: Unknown
Project: maven
Fix Fors:
1.1
Assignee:
Reporter: Anton Tagunov
Created: Mon, 8 Sep 2003 6:31 AM
Updated: Sat, 4 Oct 2003 11:48 AM
Description:
some plugin generates colored html source, here's a sample,
http://cglib.sourceforge.net/xref/samples/Trace.html
unfotunantly a table is put inside a pre which is as far as I reacall not valid HTML
4.0
in opera 6 this results in horrible viewing experience - pre is ignored
yes, btw, the center tag is also either deprecated or absent in HTML 4.0 - better use
css text-align: center, but this does not cause a rendering catastrophe in opera 6.
additionally, it would be best to have a html 4.01 or xhtml 1.0 DOCTYPE (potentially
this enforces same behavior on all browsers and disables quirks and compat modes)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]