Too many milestones can cook your buffer?

David Haslam <dfhdfh-g/[email protected]> Fri, 02 May 2025 14:06:36 +0000
Newsgroups gmane.comp.literature.sword.devel
Message-ID <DcWgUPNanQrOjeNrMaPvOVJrDcsccrazVtiqwH_engSvnzN5hxKDQMhANq1D2tnD_xR1ofsBAuuJU952rNR1HGXqJ4CMvHEo1a1vbEU1MMY=@protonmail.com>
While experimenting with the KhmerNT module eXperimental improvement, I encountered a new issue after creating modules using imp2vs

Earlier today, I had the "bright idea" of replacing all the ZWSP between Khmer words with the following OSIS element. NB. The marker attribute contains a ZWSP character

<milestone marker="​" type="x-lexical-word-divider" subtype="x-ZWSP"/>

Nothing wrong with that, you might assume, like I did.
It's perfectly valid OSIS according to our schema and wiki.
It's also much more explicit than simply leaving the ZWSP characters invisible to the naked eye.

Only a few smaller books in the NT ever got compiled!
Or if they did compile OK, afterwards SWORD cannot read parts of them.

So, I thinks to myself, "let's make it a bit smaller", and I then tried again with this abbreviated attribute value.

<milestone marker="​" type="x-LWD" subtype="x-ZWSP"/>
A few more NT books were compiled this time, but the largest one visible was Hebrews.
The apparently missing books just show as empty verses in Xiphos and with emptyvss.

I have attached the log file generated during the second attempt at module build.NB. The error.log was empty, which now rather makes me think it's a SWORD output issue.

Using diatheke and mod2imp after the module was built, one or either of these gave this repeated message:

ERROR: not enough room in the out buffer during decompression.

Evidently "Too many milestones can cook your buffer?"
I'd be happy to supply the IMP file and/or the module for further investigation.
I think this is a serious issue. I'm surprised that it's never been encountered hitherto.

Best regards,

David

Sent with [Proton Mail](https://pr.tn/ref/SWXT9A5YZ67G) secure email.

_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
imp2vs.7z (application/x-compressed, 43.6 KB) - not displayed