[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl:template: error duplicate name'question.answe

Subject: Re: xsl:template: error duplicate name'question.answer.label'
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 02 Mar 2005 11:26:08 -0500
xsl duplicate named template
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.