[sword-devel] ESV title filter failure

Chris Little chrislit at crosswire.org
Tue Jul 17 17:13:30 MST 2012


If you look closely, you can see the command line calls Peter used. Most 
of the details come from the lookup util, which is actually found in the 
examples/cmdline directory of the source tree.

--Chris

On 7/17/2012 9:25 AM, Andrew Thule wrote:
> Just curious, how are you breaking this down so nicely into the Entry
> Attributes?  Do you have a script or something that helps you look at
> nesting, and xml parsing?
>
> ~Andrew
>
> On Fri, Jun 22, 2012 at 3:12 AM, Peter von Kaehne <refdoc at gmx.net> wrote:
>> On Thu, 2012-06-21 at 19:22 -0400, Karl Kleinpaste wrote:
>>> diatheke -b ESV -o fmhncvalsbx -k 'mark 16:9'
>>
>> peter at AOA110:~/Source/sword/examples/cmdline$ diatheke -b ESV -o
>> fmhncvalsbx -k 'mark 16:9'
>> Mark 16:9: [Some of the earliest manuscripts do not include 16:9-20.]
>> []
>> Jesus Appears to Mary Magdalene[Some of the earliest manuscripts do not
>> include 16:9-20.] []
>> Jesus Appears to Mary Magdalene
>> [[Now when he rose early on the first day of the week, he appeared first
>> to Mary Magdalene, from whom he had cast out seven demons.
>> (ESV)
>> peter at AOA110:~/Source/sword/examples/cmdline$ ./lookup ESV "Mark 16.9"
>> ==Raw=Entry===============
>> Mark 16:9:
>> <title type="x-textual-note">[Some of the earliest manuscripts do not
>> include 16:9-20.]<note n="1" osisID="Mark.16.9!note.1"
>> osisRef="Mark.16.9" type="variant">Some manuscripts end the book with
>> 16:8; others include verses 9-20 immediately after verse 8. A few
>> manuscripts insert additional material after verse 14; one Latin
>> manuscript adds after verse 8 the following: <hi type="italic">But they
>> reported briefly to Peter and those with him all that they had been
>> told. And after this, Jesus himself sent out by means of them, from east
>> to west, the sacred and imperishable proclamation of eternal
>> salvation</hi>. Other manuscripts include this same wording after verse
>> 8, then continue with verses 9-20</note></title><title
>> subType="x-preverse" type="section">Jesus Appears to Mary
>> Magdalene</title>[[Now when he rose early on the first day of the week,
>> <note n="f" osisID="Mark.16.9!crossReference.f" osisRef="Mark.16.9"
>> type="crossReference"><reference osisRef="John.20.14">John
>> 20:14</reference>; [<reference osisRef="Matt.28.9">Matt.
>> 28:9</reference>]</note>he appeared first to <note n="g"
>> osisID="Mark.16.9!crossReference.g" osisRef="Mark.16.9"
>> type="crossReference"><reference osisRef="Luke.8.2">Luke
>> 8:2</reference></note>Mary Magdalene, <note n="g" osisID="Mark.16.9!
>> crossReference.g" osisRef="Mark.16.9" type="crossReference"><reference
>> osisRef="Luke.8.2">Luke 8:2</reference></note>from whom he had cast out
>> seven demons.
>> ==Render=Entry============
>>                  .divineName {                   font-variant: small-caps;               }               .wordsOfJesus {                 color:
>> red;            }
>> <h3>[Some of the earliest manuscripts do not include 16:9-20.]</h3>Jesus
>> Appears to Mary Magdalene<h3>[Some of the earliest manuscripts do not
>> include 16:9-20.]</h3><h3>Jesus Appears to Mary Magdalene</h3>[[Now when
>> he rose early on the first day of the week, he appeared first to Mary
>> Magdalene, from whom he had cast out seven demons.
>> ==========================
>> Entry Attributes:
>>
>> [ Footnote ]
>>          [ 1 ]
>>                  body = Some manuscripts end the book with 16:8; others include verses
>> 9-20 immediately after verse 8. A few manuscripts insert additional
>> material after verse 14; one Latin manuscript adds after verse 8 the
>> following: <hi type="italic">But they reported briefly to Peter and
>> those with him all that they had been told. And after this, Jesus
>> himself sent out by means of them, from east to west, the sacred and
>> imperishable proclamation of eternal salvation</hi>. Other manuscripts
>> include this same wording after verse 8, then continue with verses 9-20
>>                  n = 1
>>                  osisID = Mark.16.9!note.1
>>                  osisRef = Mark.16.9
>>                  type = variant
>>          [ 2 ]
>>                  body = <reference osisRef="John.20.14">John 20:14</reference>;
>> [<reference osisRef="Matt.28.9">Matt. 28:9</reference>]
>>                  n = f
>>                  osisID = Mark.16.9!crossReference.f
>>                  osisRef = Mark.16.9
>>                  refList = John.20.14; Matt.28.9
>>                  type = crossReference
>>          [ 3 ]
>>                  body = <reference osisRef="Luke.8.2">Luke 8:2</reference>
>>                  n = g
>>                  osisID = Mark.16.9!crossReference.g
>>                  osisRef = Mark.16.9
>>                  refList = Luke.8.2
>>                  type = crossReference
>>          [ 4 ]
>>                  body = <reference osisRef="Luke.8.2">Luke 8:2</reference>
>>                  n = g
>>                  osisID = Mark.16.9!crossReference.g
>>                  osisRef = Mark.16.9
>>                  refList = Luke.8.2
>>                  type = crossReference
>> [ Heading ]
>>          [ 0 ]
>>                  type = x-textual-note
>>          [ 1 ]
>>                  type = x-textual-note
>>          [ Interverse ]
>>                  0 = [Some of the earliest manuscripts do not include 16:9-20.]
>>                  1 = [Some of the earliest manuscripts do not include
>> 16:9-20.]</title><title subType="x-preverse" type="section">Jesus
>> Appears to Mary Magdalene
>>
>>
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>





More information about the sword-devel mailing list