Skip to main content
summaryrefslogtreecommitdiffstats
blob: 0b04a3bf64dfad4453845ae6094f6a021605e74f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
org.eclipse.wst.html.core.tests.parser.TextTest3
Invalid character ('<') found
Source :
<a>text</a>


StructuredDocument Regions :
[0, 3] (<a>)
[3, 7] (text)
[7, 11] (</a>)

Tree :
#document
--a/a@[0, 3] (<a>)@[7, 11] (</a>)
----#text(text)@[3, 7] (text)

Source :
<a>hello &lt;</a>


StructuredDocument Regions :
[0, 3] (<a>)
[3, 9] (hello )
[9, 13] (&lt;)
[13, 17] (</a>)

Tree :
#document
--a/a@[0, 3] (<a>)@[13, 17] (</a>)
----#text(hello <)@{[3, 9] (hello ),[9, 13] (&lt;)}

Invalid character ('&') found
Source :
<a>hello &lt;</a>


StructuredDocument Regions :
[0, 3] (<a>)
[3, 9] (hello )
[9, 13] (&lt;)
[13, 17] (</a>)

Tree :
#document
--a/a@[0, 3] (<a>)@[13, 17] (</a>)
----#text(hello <)@{[3, 9] (hello ),[9, 13] (&lt;)}

Source :
<a>hello &#65;</a>


StructuredDocument Regions :
[0, 3] (<a>)
[3, 9] (hello )
[9, 14] (&#65;)
[14, 18] (</a>)

Tree :
#document
--a/a@[0, 3] (<a>)@[14, 18] (</a>)
----#text(hello A)@{[3, 9] (hello ),[9, 14] (&#65;)}

Invalid character ('&') found
Source :
<a>hello &#65;</a>


StructuredDocument Regions :
[0, 3] (<a>)
[3, 9] (hello )
[9, 14] (&#65;)
[14, 18] (</a>)

Tree :
#document
--a/a@[0, 3] (<a>)@[14, 18] (</a>)
----#text(hello A)@{[3, 9] (hello ),[9, 14] (&#65;)}

Back to the top