[Laszlo-checkins] r7562 - in openlaszlo/trunk/docs/src: . xsl
ben@openlaszlo.org
ben at openlaszlo.org
Sun Dec 16 17:15:08 PST 2007
Author: ben
Date: 2007-12-16 17:14:54 -0800 (Sun, 16 Dec 2007)
New Revision: 7562
Modified:
openlaszlo/trunk/docs/src/build.xml
openlaszlo/trunk/docs/src/xsl/common-html.xsl
Log:
Change 20071216-ben-d by ben at slim.local on 2007-12-16 14:43:37 PST
in /Users/ben/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Revert revision 7539, which set doctools output to XHTML
Technical Reviewer: ptw
Documentation:
r7539 set the doctools to output xhtml. Tucker argued convincingly
that we should not do this:
I am currently of the opinion that XHTML is not the right choice for our
doc type See why [here](http://www.hixie.ch/advocacy/xhtml).
Hixie argues that you should use HTML 4.01 Transitional (for a number of
technical reasons detailed in the link above). See for instance
WEB-INF/lps/templates/html-response.xslt.
Basically, no current browser will process XHTML as XHTML, unless you
go through hoops on your server and the client is Firefox. In every
other case, your XHTML is really being rendered as 'tag soup', which
makes it rather pointless. XHTML is a concept whose time is not yet
here. OTOH, HTML is becoming a more and more accurate standard.
This change, therefore, backs out the changes that made the output
xhtml.
Modified: openlaszlo/trunk/docs/src/build.xml
===================================================================
--- openlaszlo/trunk/docs/src/build.xml 2007-12-16 23:34:54 UTC (rev 7561)
+++ openlaszlo/trunk/docs/src/build.xml 2007-12-17 01:14:54 UTC (rev 7562)
@@ -154,14 +154,10 @@
<xmlcatalog id="docbook.local.xsl">
<entity publicId="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
location="${docbook-xsl}/html/chunk.xsl"/>
- <entity publicId="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"
- location="${docbook-xsl}/xhtml/chunk.xsl"/>
<entity publicId="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl"
location="${docbook-xsl}/htmlhelp/htmlhelp.xsl"/>
<entity publicId="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"
- location="${docbook-xsl}/html/docbook.xsl"/>
- <entity publicId="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
- location="${docbook-xsl}/xhtml/docbook.xsl"/>
+ location="${docbook-xsl}/html/docbook.xsl"/>
<entity publicId="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"
location="${docbook-xsl}/fo/docbook.xsl"/>
</xmlcatalog>
Modified: openlaszlo/trunk/docs/src/xsl/common-html.xsl
===================================================================
--- openlaszlo/trunk/docs/src/xsl/common-html.xsl 2007-12-16 23:34:54 UTC (rev 7561)
+++ openlaszlo/trunk/docs/src/xsl/common-html.xsl 2007-12-17 01:14:54 UTC (rev 7562)
@@ -16,18 +16,14 @@
xmlns:xi="http://www.w3.org/2003/XInclude"
xmlns:dbk="http://docbook.org/ns/docbook"
exclude-result-prefixes="exslt xi dbk dyn saxon"
- xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
- <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
+ <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>
<xsl:import href="parameters.xsl"/>
<xsl:import href="synop-javascript.xsl"/>
<xsl:import href="synop-lzx.xsl"/>
<xsl:import href="lzx-pretty-print.xsl"/>
- <!-- output xhtml with a doctype -->
- <xsl:output method="saxon:xhtml" />
-
<!-- Path to base directory on local disk of output files -->
<xsl:param name="base.dir" />
More information about the Laszlo-checkins
mailing list