Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-284

Some rows if presented in the item summary will be wrongly considered odd or even.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: XMLUI
    • Labels:
      None
    • Attachments:
      3
    • Comments:
      5
    • Documentation Status:
      Not Required

      Description

      The code for deciding if a given row within a table should be considered odd or even needs to be done after first passing all those ifs to decide which rows are going to be presented in the summary presentation of items. (actually it can be done with the if processing, but that would be much more hackish, as the only way i see for doing that is to use variables, and xslt variables have a somewhat painful scoping)

      So i propose to create a second transformation after the main one, called table_rows.xsl

      I have done that and it works fine for me.

        Attachments

        1. DIM-Handler.diff.txt
          8 kB
        2. oddeven-example.xml
          18 kB
        3. table_row.xsl
          0.9 kB

          Activity

            People

            Assignee:
            lcs Larry Stone
            Reporter:
            nuncanada Flávio Botelho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: