Re: [xsl] xsl:template: error duplicate name'question.answer.label'

Subject: Re: [xsl] xsl:template: error duplicate name'question.answer.label'
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 02 Mar 2005 11:26:08 -0500
Hi Gavin,

At 04:40 AM 3/2/2005, you wrote:
<quote who="Wendell Piez">
> Gavin,
>
> Not the processor I use every day, but have you checked to make sure you
> have only one template named "question.answer.label"?

Yes, I have looked for that ;-)

The only reference on google I can find is:

http://www.mail-archive.com/debian-bugs-rc@xxxxxxxxxxxxxxxx/msg02821.html

And I have also tried this.

If that message is relevant (and it certainly appears to be), the problem appears to be that you've uncovered a bug in a set of stylesheet components that include/import one another. (The implication of this thread is that the bug emerged when xsltproc was modified, presumably to make it more conformant with XSLT.)


Apparently you have more than one template named "question.answer.label", one at line 366 of qandaset.mod.xsl, the other elsewhere in the collection of templates.

Assuming the stylesheets aren't yours, depending on your situation, this is either a bug to report, a patch, or time to fork the stylesheets. No one can say what's the best course here but you.

You say you've tried the solution suggested on the page you cited, but you haven't said what happens. Does the error message simply persist? Does something else happen?

In any case, that same thread goes on to provide a patch -- so you shouldn't be dead in the water. They also have nice buttons to reply to authors' posts: why not try it and ask one of the members of the project team?

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread