Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 10:46:44 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        des@FreeBSD.org
Subject:   ports/41804: [patch] fix xmlXPathCompiledEval error in textproc/docbook-xsl
Message-ID:  <20020820004644.BA2D96A7124@k7.mavetju>

next in thread | raw e-mail | index | archive | help

>Number:         41804
>Category:       ports
>Synopsis:       [patch] fix xmlXPathCompiledEval error in textproc/docbook-xsl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 19 17:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 4.5-RELEASE FreeBSD 4.5-RELEASE #3: Mon Mar 11 13:32:05 EST 2002 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386

docbook-xsl-1.51.1

>Description:

A new port I'm submitting this week has bumped into an annoying
error in docbook-xsl 1.51 and higher and it's the one described on:

    http://sourceforge.net/tracker/index.php?func=detail&aid=585038&group_id=21935&atid=373747

It's related to the (x)html output part of xslt.

To solve the problem, the patch on
http://bugzilla.gnome.org/showattachment.cgi?attach_id=10086 has
to be applied.

>How-To-Repeat:

>Fix:

Add this file to textproc/docbook-xsl/files as patch-1.51andup:

--- common/common.xsl	2002-07-08 01:10:30 +0200
+++ common/common.xsl	2002-07-27 15:52:44 +0200
@@ -1,6 +1,7 @@
 <?xml version='1.0'?>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                xmlns:svg="http://www.w3.org/2000/svg"
                 exclude-result-prefixes="doc"
                 version='1.0'>


--- html/graphics.xsl	2002-07-10 12:20:12 +0200
+++ html/graphics.xsl	2002-07-27 15:52:44 +0200
@@ -6,6 +6,7 @@
                 xmlns:ximg="xaln://com.nwalsh.xalan.ImageIntrinsics"
                 xmlns:xtext="com.nwalsh.xalan.Text"
                 xmlns:lxslt="http://xml.apache.org/xslt"
+                xmlns:svg="http://www.w3.org/2000/svg"
                 exclude-result-prefixes="xlink stext xtext lxslt simg ximg"
                 extension-element-prefixes="stext xtext"
                 version='1.0'>

--- xhtml/graphics.xsl	2002-07-10 12:35:28 +0200
+++ xhtml/graphics.xsl	2002-07-27 15:52:44 +0200
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="US-ASCII"?>
 <!--This file was created automatically by html2xhtml-->
 <!--from the HTML stylesheets. Do not edit this file.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:stext="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.TextFactory" xmlns:simg="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.ImageIntrinsics" xmlns:ximg="xaln://com.nwalsh.xalan.ImageIntrinsics" xmlns:xtext="com.nwalsh.xalan.Text" xmlns:lxslt="http://xml.apache.org/xslt" exclude-result-prefixes="xlink stext xtext lxslt simg ximg" extension-element-prefixes="stext xtext" version="1.0">
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:stext="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.TextFactory" xmlns:simg="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.ImageIntrinsics" xmlns:ximg="xaln://com.nwalsh.xalan.ImageIntrinsics" xmlns:xtext="com.nwalsh.xalan.Text" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:svg="http://www.w3.org/2000/svg" exclude-result-prefixes="xlink stext xtext lxslt simg ximg" extension-element-prefixes="stext xtext" version="1.0">

 <!-- ********************************************************************
      $Id: graphics.xsl,v 1.26 2002/07/10 10:20:12 nwalsh Exp $


And bump the revision level of docbook-xsl-1.51.1:

--- Makefile.old	Tue Aug 20 10:37:34 2002
+++ Makefile	Tue Aug 20 10:37:43 2002
@@ -7,6 +7,7 @@
 
 PORTNAME=	docbook-xsl
 PORTVERSION=	1.51.1
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR= docbook
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020820004644.BA2D96A7124>