Subject: Re: problems building openoffice
To: Michael Rauch <mrauch@NetBSD.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: tech-pkg
Date: 10/04/2005 22:35:46
In message <20051004065809.GA7106@fs.tum.de>, Michael Rauch writes:
>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.
>
>
I upgraded my pkgsrc and can now build it, though I notice I got 1.1.5
instead. Can the essential patch be pulled up the the 2005q3 pkgsrc
branch?
--Steven M. Bellovin, http://www.cs.columbia.edu/~smb