Skip to content

Commit daf5466

Browse files
committed
Updated TEI test file
1 parent bc4e7fd commit daf5466

File tree

4 files changed

+37
-44875
lines changed

4 files changed

+37
-44875
lines changed
Lines changed: 35 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,40 @@
11
[{
2-
"id": "5430edac-706b-4943-9b87-fd6e8f281b39",
3-
"bodies": [],
2+
"id": "uid-5be9c1d9-a92f-47b9-aa95-acdc05cd6268",
3+
"layer_id": "tei_standoff",
44
"target": {
5-
"annotation": "5430edac-706b-4943-9b87-fd6e8f281b39",
6-
"selector": [{
7-
"startSelector": {
8-
"type": "XPathSelector",
9-
"value": "//castItem[@xml:id='WITCHES_Mac']::13"
5+
"annotation": "uid-5be9c1d9-a92f-47b9-aa95-acdc05cd6268",
6+
"creator": {
7+
"id": "uid-af5d65e0-a46f-4eb9-80f6-11ba5e907485",
8+
"name": "\n Professor\n "
109
},
11-
"endSelector": {
12-
"type": "XPathSelector",
13-
"value": "//castItem[@xml:id='Ross_Mac']/role[1]/name[1]::4"
14-
}
15-
}],
16-
"creator": {
17-
"isGuest": true,
18-
"id": "DwQPXeG3uLHfsSLnvTV8"
19-
},
20-
"created": "2023-09-21T05:47:51.594Z"
21-
}
22-
}, {
23-
"id": "fa049492-020b-4eaf-ba93-3d595e9d624f",
24-
"bodies": [],
25-
"target": {
26-
"annotation": "fa049492-020b-4eaf-ba93-3d595e9d624f",
27-
"selector": [{
28-
"start": 6464,
29-
"startSelector": {
30-
"type": "XPathSelector",
31-
"value": "//w[@xml:id='fs-mac-0000010']::0"
10+
"created": "2024-10-30T17:48:12.149Z",
11+
"updatedBy": {
12+
"id": "uid-af5d65e0-a46f-4eb9-80f6-11ba5e907485",
13+
"name": "\n Professor\n "
3214
},
33-
"end": 6828,
34-
"endSelector": {
35-
"type": "XPathSelector",
36-
"value": "//pc[@xml:id='fs-mac-0000190']::1"
37-
},
38-
"quote": "ACT 1 Scene 1 Thunder and Lightning . Enter three Witches .",
39-
"range": {}
40-
}],
41-
"creator": {
42-
"isGuest": true,
43-
"id": "jzgy0s50ZDZBGakEHfTU"
44-
},
45-
"created": "2023-09-21T05:29:04.847Z"
46-
}
47-
},{
48-
"id": "091078e1-4073-4efc-a82a-bee79774dbf0",
49-
"bodies": [],
50-
"target": {
51-
"annotation": "091078e1-4073-4efc-a82a-bee79774dbf0",
52-
"selector": [{
53-
"start": 3671,
54-
"startSelector": {
55-
"type": "XPathSelector",
56-
"value": "//castItem[@xml:id='Malcolm_Mac']/role[1]/name[1]::4"
57-
},
58-
"end": 4578,
59-
"endSelector": {
60-
"type": "XPathSelector",
61-
"value": "//castItem[@xml:id='Banquo_Mac']/roleDesc[1]::39"
62-
},
63-
"quote": "olm his elder son Donalbain Duncan’s younger son Macbeth thane of Glamis Lady Macbeth Seyton attendant to Macbeth Three Murderers in Macbeth’s service both attending upon Lady Macbeth A Doctor A Gentlewoman A Porter Banquo commander, with Macbeth, of Duncan’s ar",
64-
"range": {}
65-
}],
66-
"creator": {
67-
"isGuest": true,
68-
"id": "2G7YULxo_qVPC2wCYxfW"
69-
},
70-
"created": "2023-09-21T05:47:24.687Z"
71-
}
15+
"updated": "2024-10-30T17:48:08.235Z",
16+
"selector": [
17+
{
18+
"startSelector": {
19+
"type": "XPathSelector",
20+
"value": "//text[@xml:id='text-1']/body[1]/div[1]/p[4]/hi[1]::0"
21+
},
22+
"endSelector": {
23+
"type": "XPathSelector",
24+
"value": "//text[@xml:id='text-1']/body[1]/div[1]/p[4]::383"
25+
}
26+
}
27+
]
28+
},
29+
"bodies": [
30+
{
31+
"id": "479229dc-fc78-4a6d-8179-0ab58ffe89be",
32+
"annotation": "uid-5be9c1d9-a92f-47b9-aa95-acdc05cd6268",
33+
"value": "Very cool comment",
34+
"creator": {
35+
"id": "uid-af5d65e0-a46f-4eb9-80f6-11ba5e907485",
36+
"name": "\n Professor\n "
37+
}
38+
}
39+
]
7240
}]

packages/extension-tei/test/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
window.onload = async function () {
6363
var CETEIcean = new CETEI();
6464

65-
CETEIcean.getHTML5('macbeth.xml', data => {
65+
CETEIcean.getHTML5('paradise-lost.xml', data => {
6666
document.getElementById('content').appendChild(data);
6767

6868
var anno = TEIPlugin(createTextAnnotator(document.getElementById('content')));

0 commit comments

Comments
 (0)