Re: When osis2mod reports NESTING errors?
David Haslam <dfhdfh-g/[email protected]>
| Newsgroups | gmane.comp.literature.sword.devel |
|---|---|
| Message-ID | <vHPjbjXVjVcGn5uhV-7hIaEN6UN1vlwOleZJFLSr0CIcl0b4BSnpVrYwawh-R21WQCBbwDkbIxN5O63sIv3ZDmFJd8t_6JSeXttwv_QMjMc=@protonmail.com> |
This is simply not the case, as you can have valid USFM files that convert OK to OSIS using u2o.py but which osis2mod reports nesting errors. Having a list item and the list end part way through a verse is not uncommon, albeit less so than having poetry lines end part way through a verse. David Sent from Proton Mail for iOS On Tue, Jun 13, 2023 at 17:12, Peter von Kaehne <[[email protected]](mailto:On Tue, Jun 13, 2023 at 17:12, Peter von Kaehne <<a href=)> wrote: > I think irrespective of the different context the error lies in the USFM. > > Sent from my phone. Please forgive misspellings and weird “corrections” > >> On 13 Jun 2023, at 12:26, David Haslam <[email protected]> wrote: > >> >> All very well, but my question arose from nesting errors arising in the context of the XML list element. >> >> It wasn’t a case like Peter just described, that touches on the underlying chapter and verse structure. >> >> David >> >> Sent from Proton Mail for iOS >> >> On Tue, Jun 13, 2023 at 12:06, Peter von Kaehne <[[email protected]](mailto:On Tue, Jun 13, 2023 at 12:06, Peter von Kaehne <<a href=)> wrote: >> >>> Nesting errors I have seen look like (pseudo code) >>> >>> <chapter startID/> >>> <verse endID/> >>> >>> Where the endID of the last verse of last chapter comes after the start is of the new chapter. It is a USFM error. It is too long that I did this but fixing the USFM makes this go away. I am not sure that u2o should fix it though recognising it would be nice of course. >>> >>> Peter >>> >>> Sent from my phone. Please forgive misspellings and weird “corrections” >>> >>>> On 11 Jun 2023, at 07:07, David Haslam <[email protected]> wrote: >>>> >>>> >>>> If osis2mod produces modules in which chapter and verse elements use the milestone forms, how is it possible that it can report NESTING errors when (eg) a verse eID milestone and the next verse sID milestone are generated somewhere within an XML list element? >>>> >>>> How can a milestone even do such a thing? >>>> >>>> Question prompted by recent issues in the GitHub repo for Adyeths script u2o.py that converts USFM to OSIS. >>>> cf. It’s not something that he can comprehensively fix. >>>> >>>> Best regards, >>>> >>>> David >>>> >>>> Sent from Proton Mail for iOS >>>> _______________________________________________ >>>> sword-devel mailing list: [email protected] >>>> http://crosswire.org/mailman/listinfo/sword-devel >>>> Instructions to unsubscribe/change your settings at above page >>> >>> _______________________________________________ >>> sword-devel mailing list: [email protected] >>> http://crosswire.org/mailman/listinfo/sword-devel >>> Instructions to unsubscribe/change your settings at above page >> >> _______________________________________________ >> sword-devel mailing list: [email protected] >> http://crosswire.org/mailman/listinfo/sword-devel >> Instructions to unsubscribe/change your settings at above page _______________________________________________ sword-devel mailing list: [email protected] http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page