IE6 is a piece of shit. It doesn't understand XHTML transitional properly as far as I can tell.

Backed out changes.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113342 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding
2003-04-13 12:42:17 +00:00
parent fbe92b3d25
commit 4ba66d6c06
2 changed files with 8 additions and 7 deletions

View File

@@ -304,7 +304,7 @@
<x:parse var="doc" xml="${file}"/>
<j:file name="${outFile}" encoding="${outputencoding}"
omitXmlDeclaration="false" outputMode="xml"
omitXmlDeclaration="true" outputMode="xml"
prettyPrint="no">
<j:include uri="${stylesheet.toString()}"/>
</j:file>

View File

@@ -23,10 +23,9 @@
location="${location}"/>
<x:doctype name="html"
publicId="-//W3C//DTD XHTML 1.0 Transitional//EN"
systemId="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
publicId="-//CollabNet//DTD XHTML 1.0 Transitional//EN"
systemId="http://www.collabnet.com/dtds/collabnet_transitional_10.dtd"/>
<!-- JSL currently hoses this - xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" -->
<html>
<head>
<j:set var="docTitle">
@@ -63,8 +62,8 @@
-->
<link rel="stylesheet" type="text/css" href="${relativePath}/style/print.css" media="print"/>
<x:forEach var="author" select="./properties/author">
<meta name="author" content="${author.text}"/>
<meta name="email" content="${author.attribute('email').value}"/>
<meta name="author" value="${author.text}"/>
<meta name="email" value="${author.attribute('email').value}"/>
</x:forEach>
<jsl:applyTemplates select="$doc/document/head"/>
@@ -73,6 +72,8 @@
<x:element name="body"><j:whitespace trim="true">
<x:attribute name="class">composite</x:attribute>
<x:attribute name="marginwidth">0</x:attribute>
<x:attribute name="marginheight">0</x:attribute>
<x:forEach var="attr" select="$doc/document/body/@*">
<x:attribute name="${attr.name}">${attr.value}</x:attribute>
</x:forEach>
@@ -308,7 +309,7 @@
<j:set var="poweredbyurl">${maven.xdoc.poweredby.url}</j:set>
<j:if test="${!empty(poweredbyimage)}">
<div style="margin-top: 20px; width: 100%; text-align: center;">
<a href="${poweredbyurl}" title="${poweredbytitle}"><img alt="${maven.xdoc.poweredby.title}" style="border: 1px solid black" src="${relativePath}/images/logos/${poweredbyimage}"/></a>
<a href="${poweredbyurl}" title="${poweredbytitle}"><img style="border: 1px solid black" src="${relativePath}/images/logos/${poweredbyimage}"/></a>
</div>
</j:if>