Module Tools
  1. Module Tools
  2. MODTOOLS-50

usfm2osis.py does not adequately handle the USFM tag \ipi

    Details

    • Type: Bug Bug
    • Status: Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: usfm2osis.py
    • Labels:
      None

      Description

      This tag occurs 9 times in the Tok Pisin Bible file 19-PSA.usfm

      \ipi is the tag for an indented introduction paragraph.

      The tag is not yet adequately handled by usfm2osis.py when more than one such tagged line occur in a sequence.

      The XML output leaves all but the first of these lines unprocessed.

        Activity

        Hide
        David Haslam added a comment -

        Here's what the lines are in the USFM file: (lines 13-21)

        \ipi ol song bilong litimapim nem bilong God
        \ipi na ol prea bilong autim na lusim sin
        \ipi na ol prea bilong kisim helpim long taim bilong traim na hevi
        \ipi na ol song bilong bikpela de bilong makim nupela king
        \ipi na ol song bilong autim bilip long God
        \ipi na ol song bilong givim tenkyu long God
        \ipi na ol prea bilong autim bel hevi na wari
        \ipi na ol prea bilong askim God long bagarapim ol birua
        \ipi na ol song i soim gutpela pasin bilong ol manmeri i mas bihainim.

        Show
        David Haslam added a comment - Here's what the lines are in the USFM file: (lines 13-21) \ipi ol song bilong litimapim nem bilong God \ipi na ol prea bilong autim na lusim sin \ipi na ol prea bilong kisim helpim long taim bilong traim na hevi \ipi na ol song bilong bikpela de bilong makim nupela king \ipi na ol song bilong autim bilip long God \ipi na ol song bilong givim tenkyu long God \ipi na ol prea bilong autim bel hevi na wari \ipi na ol prea bilong askim God long bagarapim ol birua \ipi na ol song i soim gutpela pasin bilong ol manmeri i mas bihainim.
        Hide
        David Haslam added a comment -

        Here's how they are in context in the OSIS output:

        <p type="x-indented" subType="x-introduction">
        ol song bilong litimapim nem bilong God
        \ipi na ol prea bilong autim na lusim sin
        \ipi na ol prea bilong kisim helpim long taim bilong traim na hevi
        \ipi na ol song bilong bikpela de bilong makim nupela king
        \ipi na ol song bilong autim bilip long God
        \ipi na ol song bilong givim tenkyu long God
        \ipi na ol prea bilong autim bel hevi na wari
        \ipi na ol prea bilong askim God long bagarapim ol birua
        \ipi na ol song i soim gutpela pasin bilong ol manmeri i mas bihainim.</p>
        </p>

        Show
        David Haslam added a comment - Here's how they are in context in the OSIS output: <p type="x-indented" subType="x-introduction"> ol song bilong litimapim nem bilong God \ipi na ol prea bilong autim na lusim sin \ipi na ol prea bilong kisim helpim long taim bilong traim na hevi \ipi na ol song bilong bikpela de bilong makim nupela king \ipi na ol song bilong autim bilip long God \ipi na ol song bilong givim tenkyu long God \ipi na ol prea bilong autim bel hevi na wari \ipi na ol prea bilong askim God long bagarapim ol birua \ipi na ol song i soim gutpela pasin bilong ol manmeri i mas bihainim.</p> </p>
        Hide
        David Haslam added a comment -

        As you see, the first such line is handled, but the remaining eight lines are left with the tag unconverted.

        Show
        David Haslam added a comment - As you see, the first such line is handled, but the remaining eight lines are left with the tag unconverted.
        Hide
        David Haslam added a comment -

        FIO. There was no improvement wrt to \ipi mishandling
        following the resolution and closure of http://www.crosswire.org/tracker/browse/MODTOOLS-32

        Show
        David Haslam added a comment - FIO. There was no improvement wrt to \ipi mishandling following the resolution and closure of http://www.crosswire.org/tracker/browse/MODTOOLS-32
        Hide
        Peter von Kaehne added a comment -

        Fixed with r484.

        Show
        Peter von Kaehne added a comment - Fixed with r484.
        Hide
        David Haslam added a comment -

        Thanks!

        Show
        David Haslam added a comment - Thanks!
        Hide
        Patrick Morton (Inactive) added a comment -

        http://google.com Search Engine xrk3tw9o fantastic

        Show
        Patrick Morton (Inactive) added a comment - http://google.com Search Engine xrk3tw9o fantastic

          People

          • Assignee:
            Chris Little
            Reporter:
            David Haslam
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: