Uploaded image for project: 'SWORD'
  1. SWORD
  2. API-199

Some SWORD filters include an undefined attribute name savlm

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.40
    • Fix Version/s: 1.7.50
    • Component/s: filters
    • Labels:
      None
    • Environment:

      Occurs in both Linux and Windows.

      Can be demonstrated using diatheke version 4.7 but the issue is not specific to diatheke.

      Description

      For some output filters and/or formats, the XML snippets include the undefined attribute name '''savlm''' in the '''w''' elements. e.g.

       Genesis 1:1: <w savlm="strong:H07225">In the beginning</w>

      This seems to be a bug in the source code. Evidently, it denotes "save lemma".

      Karl reported this evidence in the source code after I reported the problem in sword-devel

      grep savlm src/modules/filters/*.cpp
      src/modules/filters/osishtmlhref.cpp:    SWBuf savelemma = tag.getAttribute("savlm");
      src/modules/filters/osislatex.cpp:    SWBuf savelemma = tag.getAttribute("savlm");
      src/modules/filters/osisosis.cpp:    tag.setAttribute("savlm", 0);
      src/modules/filters/osisrtf.cpp:    SWBuf savelemma = tag.getAttribute("savlm");
      src/modules/filters/osisstrongs.cpp:    SWBuf savlm = l;
      src/modules/filters/osisstrongs.cpp:    wtag.setAttribute("savlm", savlm);
      src/modules/filters/osiswebif.cpp:    SWBuf savelemma = tag.getAttribute("savlm");
      src/modules/filters/osisxhtml.cpp:    SWBuf savelemma = tag.getAttribute("savlm");

        Attachments

          Activity

            People

            • Assignee:
              scribe Troy A Griffitts
              Reporter:
              dfh David Haslam
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: