[Koha-bugs] [Bug 7141] New: The biblio details page in the intranet doesn't work if XSLT is activated and the xsl file contains "  "

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 2 16:16:40 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7141

             Bug #: 7141
           Summary: The biblio details page in the intranet doesn't work
                    if XSLT is activated and the xsl file contains
                    " "
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Templates
        AssignedTo: oleonard at myacpl.org
        ReportedBy: fcapovilla at live.ca
         QAContact: koha-bugs at lists.koha-community.org


Created attachment 6148
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6148
Correct a problem when translations contain   in MARC21 XSL file.

The problem occurs when XSLTDetailsDisplay is set to use XSLT, marcflavour is
set to MARC21 and the fr-FR or fr-CA languages are used.

If I then go see the details of a biblio record in the intranet, I get many of
the following errors :

/home/koha/kohagit/koha-tmpl/intranet-tmpl/prog/fr-FR/xslt/MARC21slim2intranetDetail.xsl:132:
parser error : Entity 'nbsp' not defined
 <span class="results_summary type"><span class="label">Type&nbsp;:</span>
                                                                  ^
/home/koha/kohagit/koha-tmpl/intranet-tmpl/prog/fr-FR/xslt/MARC21slim2intranetDetail.xsl:145:
parser error : Entity 'nbsp' not defined
 <xsl:with-param name="label">Collection&nbsp;:</xsl:with-param>
                                              ^

Frederic Demians suggested a fix to add in MARC21slim2intranetDetail.xsl . I
tried it and it seems to work.
Patch attached.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list