Hi,
I processed your test file with your customization layer (changing the
xsl:import path to my copy of 1.74.0), using the same version of xsltproc
(actually, the Windows binary), and I got no namespace error message. Your
path looks like a Linux path, so perhaps someone could test it on a Linux
box.
Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]
----- Original Message -----
From: "Erik Leunissen" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Wednesday, June 18, 2008 1:18 PM
Subject: Re: [docbook-apps] xsl parameter "ulink.footnotes" generating an
error
Erik Leunissen wrote:
If one of those things doesn't solve the problem, then I'd suggest
reposting the question with more information on your environment (i.e.,
which version of the stylesheets, which xslt processor, your xml source
file, your OS, etc.).
OK, I used the same xsl customization as in my original post on a newly
created, minimal xml source, and the error persists.
Both the minimal source file and the xsl customization script are
appended to this message, as well as toolchain info. Note that the
minimal source file needs to include an ulink element in order to
reproduce the error message.
Anybody can reproduce the issue with this more precise info?
Thanks in advance,
Erik.
Source file
===========
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<article>
<title></title>
<section>
<title></title>
<para>Some <ulink url="http://www.stunnel.org/">text</ulink></para>
</section>
</article>
Customizaton script
===================
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<!-- base stylesheet upon which the customizations build -->
<xsl:import
href="/usr/local/share/xml/docbook-xsl-current/fo/docbook.xsl"/>
<!-- this triggers the error message "XPath error : Undefined namespace
prefix" -->
<xsl:param name="ulink.footnotes">1</xsl:param>
</xsl:stylesheet>
Toolchain info
==============
xsl stylesheets 1.74.0
xsltproc --version
Using libxml 20626, libxslt 10117 and libexslt 813
xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813
libxslt 10117 was compiled against libxml 20626
libexslt 813 was compiled against libxml 20626
== end of message ==
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]