OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] titlepage.xsl generates target script without 'exsl' namespace entry

This looks to me like a bug in Xalan (used by xsltc).  The 
titlepage.xsl stylesheet has this template:

<xsl:template match="t:templates">
  <xsl:element name="xsl:stylesheet">

The 1.69.1 version of template/titlepage.xsl has the exsl 
namespace in its xsl:stylesheet element, so it should get copied 
to the output element.

I tested this with xsltproc and saxon 6.5.4 and 
xmlns:exsl="http://exslt.org/common"; attribute is added to the 
xsl:stylesheet element.  I tried with Xalan 2.7.0 and it does 
not.  A little debugging shows that Xalan does recognize that 
there is such a namespace node on the input element, but for some 
reason it fails to copy it out the result, even though there is 
an explicit copy-of for that node.

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Jörg Möbius" <joerg.moebius@hamburg.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, March 20, 2006 7:13 AM
Subject: [docbook-apps] titlepage.xsl generates target script 
without 'exsl' namespace entry

Hi all,

I am generating a customized titlepage with this ant task:

    <target name="buildTitlepageFO" description="generates a 
title page

The resulting stylesheet do not contain an
'xmlns:exsl="http://exslt.org/common"; entry.
It is not a great issue due to the possibility to post the entry 
Furthermore the titlepage structure is not to be changed not very 

But if one could be run only a single build job would be more 

Does any body know how to avoid this problem resp. how to post 
the namespace
automatically (without editing the genuine script).

Config: - ant 1.6.5 within eclipse 3.1.2, -> xsltc
- docbookxls 1.69.1

Thanks in advance for any hint.

Best Regards

Joerg Moebius

To unsubscribe, e-mail: 
For additional commands, e-mail: 

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]