[MPlayer-DOCS] r28944 - trunk/DOCS/xml/html-common.xsl

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Mar 17 00:21:33 CET 2009


On Mon, Mar 16, 2009 at 11:47:01PM +0100, Jindrich Makovicka wrote:
> On Sat, 14 Mar 2009 13:32:29 +0100 (CET)
> reimar <subversion at mplayerhq.hu> wrote:
> 
> > Author: reimar
> > Date: Sat Mar 14 13:32:28 2009
> > New Revision: 28944
> > 
> > Log:
> > Set DOCTYPE in xsl-generated HTML documentation.
> > 
> > Modified:
> >    trunk/DOCS/xml/html-common.xsl
> > 
> > Modified: trunk/DOCS/xml/html-common.xsl
> > ==============================================================================
> > --- trunk/DOCS/xml/html-common.xsl	Sat Mar 14 09:11:03
> > 2009	(r28943) +++ trunk/DOCS/xml/html-common.xsl	Sat
> > Mar 14 13:32:28 2009	(r28944) @@ -2,7 +2,9 @@
> >  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> >                  version="1.0">
> >  
> > -<xsl:output method="html" indent="no"/>
> > +<xsl:output method="html" indent="no"
> > +            doctype-system="http://www.w3.org/TR/html4/loose.dtd"
> > +            doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
> >   
> >  <!-- **************
> >       Set parameters
> 
> This breaks xsltproc, because it requires an output file when DOCTYPE
> is specified, and crashes with an "is a directory" error otherwise.

I noticed that, but everything seemed to work well.

> (a bit hackish) fix attached.

That will affect the HTML-single target, better modify the Makefile
(though that may break other processors).



More information about the MPlayer-DOCS mailing list