Subject: Re: problems building openoffice
To: Hiroki Sato <hrs@allbsd.org>
From: Michael Rauch <mrauch@NetBSD.org>
List: tech-pkg
Date: 10/04/2005 08:58:09
On Tue, Oct 04, 2005 at 01:06:05PM +0900, Hiroki Sato wrote:
> as> -On [20051003 20:12], Steven M. Bellovin (smb@cs.columbia.edu) wrote:
> as> >                    --stringparam locale de \
> as> >                    ../../util/resource.xsl org/openoffice/Inet.xcs
> as> >XPath error : Undefined variable
> [...]
>  I think this is openoffice's fault (util/resource.xsl):
> 
>  87: <xsl:template match="info/desc[@xml:lang=$locale]|info/label[@xml:lang=$locale]">
> 
>  Template rules which use a variable reference in the value
>  of the match attribute are not allowed explicitly according to
>  XSLT 1.0 (REC-xslt-19991116) "5.3 Defining Template Rules".
> 
>  The xsltproc utility prior to version 1.1.15 allowed this
>  erroneously but the latest version is stricter.

Exactly. 
I've committed a fix for this Saturday morning. Please make sure you
have rev. 1.4 of patch-av.


Michael