Osis2mod debug messages
DM Smith <[email protected]> Mon, 7 Jul 2025 17:14:33 -0400
| Newsgroups | gmane.comp.literature.sword.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============2461906650281010133==
Content-Type: multipart/alternative;
boundary="Apple-Mail=_0FFB6DD7-8DC2-44D5-AB5F-FF3D7E902232"
--Apple-Mail=_0FFB6DD7-8DC2-44D5-AB5F-FF3D7E902232
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
I have just committed revision 3907 for osis2mod, adding location =
information to messages so that one can more readily tie reported events =
to the OSIS input file.
I have updated the osis2mod wiki entry to document it more fully: =
https://wiki.crosswire.org/Osis2mod#Messages
MODTOOLS-25 give location in input for messages.
Created identifyMsg which creates a standardized message for reporting
and used it for all messages to standard out.
The message is of the form:
type(kind)[linePos,charPos] osisID=3DosisID: message
Where:
type The message type (e.g., "ERROR", "WARNING", "INFO").
kind The message category or kind (e.g., "REF", "PARSE").
linePos The position in the file of the last line that was read.
charPos The position in the line of the last character that was =
read.
osisID (Optional) The current OSIS ID to include. May be =
nullptr or empty.
message event description with details
* If linePos is 0, the position ([linePos,charPos]) is omitted.
* If osisID is nullptr or empty, the osisID part is omitted.
* The returned string always ends with a colon and a trailing space (": =
=E2=80=9C).
In Him,
DM
--Apple-Mail=_0FFB6DD7-8DC2-44D5-AB5F-FF3D7E902232
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;">I have just =
committed revision 3907 for osis2mod, adding location information to =
messages so that one can more readily tie reported events to the OSIS =
input file.<div><br></div><div>I have updated the osis2mod wiki entry to =
document it more fully: <a =
href=3D"https://wiki.crosswire.org/Osis2mod#Messages">https://wiki.crosswi=
re.org/Osis2mod#Messages</a><br><div><br><div>MODTOOLS-25 give location =
in input for messages.<br><br>Created identifyMsg which creates a =
standardized message for reporting<br>and used it for all messages to =
standard out.<br><br>The message is of the =
form:<br> type(kind)[linePos,charPos] osisID=3DosisID: =
message<br><br>Where:<br> type =
The message =
type (e.g., "ERROR", "WARNING", "INFO").<br> kind =
The message =
category or kind (e.g., "REF", "PARSE").<br> linePos =
The position in the file of =
the last line that was read.<br> charPos =
The position in the line of =
the last character that was read.<br> osisID =
(Optional) The current =
OSIS ID to include. May be nullptr or empty.<br> message =
event description with =
details<br><br>* If linePos is 0, the position ([linePos,charPos]) is =
omitted.<br>* If osisID is nullptr or empty, the osisID part is =
omitted.<br>* The returned string always ends with a colon and a =
trailing space (": =E2=80=9C).</div><div><br></div><div>In =
Him,</div><div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>DM<br><br></div></div></div></body></html>=
--Apple-Mail=_0FFB6DD7-8DC2-44D5-AB5F-FF3D7E902232--
--===============2461906650281010133==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
--===============2461906650281010133==--