]> Lady’s Gitweb - Vocab/blob - data/classes/anno¦TextPositionSelector
Initial commit; initial set of vocabs
[Vocab] / data / classes / anno¦TextPositionSelector
1 <?xml version="1.0"?>
2 <!--
3 SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: CC0-1.0
5 -->
6 <!DOCTYPE Class SYSTEM "../../DTD">
7 <Class>
8 <label xml:lang="en">Text Position Selector</label>
9 <comment xml:lang="en">
10 <p>
11 A <ref target="anno:Selector">Selector</ref> which describes an area of interest in another thing using <ref target="anno:start">start</ref> and <ref target="anno:end">end</ref> values, interpreted as positions in a character stream.
12 </p>
13 <p>
14 Position 0 is the position preceding the first character, position 1 is the position after the first character but before the second, and so on.
15 “Character” here means “Unicode scalar value”, regardless of underlying encoding.
16 This selector selects on a plaintext character stream; markup must be ignored when selecting.
17 In X·M·L and H·T·M·L, that means it selects only on the sequence of text nodes in the document, in document order, after all entities have been expanded.
18 </p>
19 </comment>
20 <isDefinedBy>
21 <SpecificResource source="(ANNO)" fragment="textpositionselector"/>
22 </isDefinedBy>
23 <subClassOf>
24 <resource name="anno:Selector"/>
25 </subClassOf>
26 <subClassOf>
27 <Restriction>
28 <onProperty>
29 <resource name="anno:start"/>
30 </onProperty>
31 <cardinality>1</cardinality>
32 </Restriction>
33 </subClassOf>
34 <subClassOf>
35 <Restriction>
36 <onProperty>
37 <resource name="anno:end"/>
38 </onProperty>
39 <cardinality>1</cardinality>
40 </Restriction>
41 </subClassOf>
42 </Class>
This page took 0.050611 seconds and 5 git commands to generate.