From edwin@mavetju.org  Mon Aug 19 17:46:55 2002
Return-Path: <edwin@mavetju.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 6DC1C37B400; Mon, 19 Aug 2002 17:46:55 -0700 (PDT)
Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id A792343E3B; Mon, 19 Aug 2002 17:46:54 -0700 (PDT)
	(envelope-from edwin@mavetju.org)
Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141])
	by topaz.mdcc.cx (Postfix) with ESMTP
	id CB19A2B739; Tue, 20 Aug 2002 02:46:49 +0200 (CEST)
Received: by k7.mavetju (Postfix, from userid 1001)
	id BA2D96A7124; Tue, 20 Aug 2002 10:46:44 +1000 (EST)
Message-Id: <20020820004644.BA2D96A7124@k7.mavetju>
Date: Tue, 20 Aug 2002 10:46:44 +1000 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: des@freebsd.org
Subject: [patch] fix xmlXPathCompiledEval error in textproc/docbook-xsl
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         41804
>Category:       ports
>Synopsis:       [patch] fix xmlXPathCompiledEval error in textproc/docbook-xsl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 19 17:50:01 PDT 2002
>Closed-Date:    Tue Oct 08 02:08:48 PDT 2002
>Last-Modified:  Tue Oct 08 02:08:48 PDT 2002
>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:
Responsible-Changed-From-To: freebsd-ports->des 
Responsible-Changed-By: okazaki 
Responsible-Changed-When: Thu Aug 22 08:19:48 PDT 2002 
Responsible-Changed-Why:  
Over to the maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41804 
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Tue Oct 8 02:08:47 PDT 2002 
State-Changed-Why:  
Port upgraded to 1.55.0 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41804 
>Unformatted:
