Menu

#21 qandaset.mod.xsl

open
nobody
None
5
2004-09-22
2004-09-22
No

When running with Xalan or Saxon an error comes up:
qandaset.mod.xsl: line 366
Template 'question.answer.label' is already defined in
this stylesheet.

That's because common/common.xsl also contains this
template.

I'm not sure which one to remove or what the problem
really is.

Discussion

  • Nikolai Prokoschenko

    Logged In: YES
    user_id=808556

    Current xsltproc doesn't like it either. It's an option in
    the XSLT 1.0 standard:

    "It is an error if this leaves more than one matching
    template rule. An
    XSLT processor may signal the error; if it does not signal
    the error,
    it must recover by choosing, from amongst the matching
    template rules
    that are left, the one that occurs last in the stylesheet."

    So I guess the one piece in common.xsl should be removed.

     
  • Giuseppe Sacco

    Giuseppe Sacco - 2005-05-13

    Logged In: YES
    user_id=220823

    I just removed the part in xsl/common/common.xsl and my
    document seems correctly translated to pdf.

    I am using version 0.8pre1+20050513 with xsltproc 1.1.12
    (Using libxml 20616, libxslt 10112 and libexslt 810)

    Bye,
    Giuseppe

     
  • Nobody/Anonymous

    Logged In: NO

    Is there anybody working on db2latex at all?
    This is a very important package for everybody working with
    docbook who wants to create good looking pdf, so fixing that
    bug would be very appreciated.

    Axel Wernicke (Author at docs.gimp.org)

     
  • Christian Weiske

    Logged In: YES
    user_id=1121713

    It would be very nice if this bug was fixed - it's not hard
    to do this. Is somebody working on this project anymore?

     
  • Nobody/Anonymous

    Logged In: NO

    Same Problem with xsltproc

     

Log in to post a comment.