xsltproc doesn't like a param being defined within a param. %make doc expand Bv9ARM-book.xml | /usr/local/bin/xsltproc --novalid --xinclude --nonet ../../doc/xsl/pre-latex.xsl - | /usr/local/bin/xsltproc --novalid --xinclude --nonet ../../doc/xsl/isc-docbook-latex.xsl - | /usr/bin/perl5 latex-fixup.pl >Bv9ARM.tex.tmp ################################################################################ XSLT stylesheets DocBook - LaTeX 2e Reqs: LaTeX 2e installation common packages ################################################################################ RELEASE : 0.8pre1 VERSION : $Id: VERSION.xml,v 1.6 2004/01/31 12:47:11 j-devenish Exp $ TAG : DB2LATEX_0_8PRE1 WWW : http://db2latex.sourceforge.net SUMMARY : http://www.sourceforge.net/projects/db2latex AUTHOR : Ramon Casellas casellas@infres.enst.fr AUTHOR : James Devenish j-devenish@users.sf.net USING : libxslt/xsltproc ################################################################################ runtime error: file /usr/local/share/db2latex/xsl/lists.mod.xsl line 273 element param Unexpected XSLT element 'param'. runtime error: file /usr/local/share/db2latex/xsl/lists.mod.xsl line 274 element value-of Variable 'object' has not been declared. xmlXPathCompOpEval: parameter error xmlXPathCompiledEval: evaluation failed runtime error: file /usr/local/share/db2latex/xsl/lists.mod.xsl line 274 element value-of XPath evaluation returned no result. if test -s Bv9ARM.tex.tmp; then mv Bv9ARM.tex.tmp Bv9ARM.tex; else rm -f Bv9ARM.tex.tmp; exit 1; fi How-To-Repeat: Attempt to rebuild bind9 documentation.
Responsible Changed From-To: freebsd-ports-bugs->stefan Take.
Author: stefan Date: Sun Apr 28 11:24:26 2013 New Revision: 316712 URL: http://svnweb.freebsd.org/changeset/ports/316712 Log: Fix a problem with nested <param> tags in the XSL stylesheet which xsltproc does not like and which prevents building the bind9 documentation. PR: 173615 Submitted by: Mark Andrews <marka@isc.org> Added: head/textproc/db2latex/files/patch-xsl-lists.mod.xsl (contents, props changed) Modified: head/textproc/db2latex/Makefile (contents, props changed) Modified: head/textproc/db2latex/Makefile ============================================================================== --- head/textproc/db2latex/Makefile Sun Apr 28 10:00:25 2013 (r316711) +++ head/textproc/db2latex/Makefile Sun Apr 28 11:24:26 2013 (r316712) @@ -8,7 +8,7 @@ PORTNAME= db2latex PORTVERSION= 0.8p1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.8pre1 DISTNAME= ${PORTNAME}-xsl-${PORTVERSION:S/p/pre/} Added: head/textproc/db2latex/files/patch-xsl-lists.mod.xsl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/db2latex/files/patch-xsl-lists.mod.xsl Sun Apr 28 11:24:26 2013 (r316712) @@ -0,0 +1,16 @@ +--- xsl/lists.mod.xsl.orig 2004-01-31 11:53:50.000000000 +0000 ++++ xsl/lists.mod.xsl 2012-11-13 21:15:16.000000000 +0000 +@@ -269,10 +269,8 @@ + </doc:notes> + </doc:template> + <xsl:template match="varlistentry"> +- <xsl:param name="next.is.list"> +- <xsl:param name="object" select="listitem/*[1]"/> +- <xsl:value-of select="count($object[self::itemizedlist or self::orderedlist or self::variablelist])"/> +- </xsl:param> ++ <xsl:param name="object" select="listitem/*[1]"/> ++ <xsl:param name="next.is.list" select="count($object[self::itemizedlist or self::orderedlist or self::variablelist])"/> + <xsl:variable name="id"> + <xsl:call-template name="label.id"/> + </xsl:variable> + _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!