[sword-devel] Too many milestones can cook your buffer?
David Haslam
dfhdfh at protonmail.com
Fri May 2 10:06:36 EDT 2025
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20250502/32336f45/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imp2vs.7z
Type: application/x-compressed
Size: 44685 bytes
Desc: not available
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20250502/32336f45/attachment-0001.bin>
More information about the sword-devel
mailing list