Description
Split a locus-line reference at its final literal separator.
Digital editions connect textual witnesses, anchors, page images and source-specific labels. Literal identifier agreement and numerical offsets preserve a supplied convention without proving textual authority, complete coverage or correct editorial interpretation.
Split a locus-line reference at its final literal separator.
When to use this tool
Use TEI Locus Line Token when checking supplied edition identifiers, ordering or coordinate conventions.
How to use the tool and how it works
- Enter reference, separator. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read locus, lineToken. Use the output convention below.
Split a locus-line reference at its final literal separator. Require nonempty separator and nonempty text on both sides of the last occurrence; return locus and lineToken.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| reference | Reference | Required. Text; maximum UTF-16 length 8192. |
| separator | Separator | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| locus | Locus | Required. Text; maximum UTF-16 length 8192. |
| lineToken | Line Token | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"reference": "f12r:l3",
"separator": ":"
},
"output": {
"locus": "f12r",
"lineToken": "l3"
}
} Limitations and assumptions
- No numeric parsing, citation lookup or validation of the edition's reference system occurs.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Inspect the original edition and its encoding model before treating local record agreement as meaningful textual or historical evidence.
References
Similar or alternative tools
- TEI Witness Support Count
Count distinct eligible and supporting witnesses.
- TEI Choice Orig Reg One Pair
Select original or regularized text from a supplied pair.