summaryrefslogtreecommitdiff
path: root/other-code/BSXPath_ver001e/testbsxresult/r0008.txt
blob: 2f54cf91307951b1b538e1a88f580b01137fca01 (plain)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[0008]
Sibling Test

No.1
expr  : id('first')/following-sibling::*
time  : 0.000000 sec
result: <span class=2> <span class=3> <span id=last class=4>
expect: span.2 span.3 span.4
judge : OK (-)

No.2
expr  : id('first')/following-sibling::node()
time  : 0.000000 sec
result: foo <span class=2> bar <span class=3> baz <span id=last class=4>
expect: text("foo") span.2 text("bar") span.3 text("baz") span.4
judge : OK (-)

No.3
expr  : id('first')/following-sibling::*/following-sibling::*
time  : 0.000000 sec
result: <span class=3> <span id=last class=4>
expect: span.3 span.4
judge : OK (-)

No.4
expr  : id('first')/following-sibling::node()/following-sibling::node()
time  : 0.000000 sec
result: <span class=2> bar <span class=3> baz <span id=last class=4>
expect: span.2 text("bar") span.3 text("baz") span.4
judge : OK (-)

No.5
expr  : id('first')/following-sibling::*[1]
time  : 0.015000 sec
result: <span class=2>
expect: span.2
judge : OK (-)

No.6
expr  : id('first')/following-sibling::node()[1]
time  : 0.000000 sec
result: foo
expect: text("foo")
judge : OK (-)

No.7
expr  : id('first')/following-sibling::*/following-sibling::*[1]
time  : 0.000000 sec
result: <span class=3> <span id=last class=4>
expect: span.3 span.4
judge : OK (-)

No.8
expr  : id('first')/following-sibling::node()/following-sibling::node()[1]
time  : 0.000000 sec
result: <span class=2> bar <span class=3> baz <span id=last class=4>
expect: span.2 text("bar") span.3 text("baz") span.4
judge : OK (-)

No.9
expr  : id('last')/preceding-sibling::*
time  : 0.015000 sec
result: <span id=first class=1> <span class=2> <span class=3>
expect: span.1 span.2 span.3
judge : OK (-)

No.10
expr  : id('last')/preceding-sibling::node()
time  : 0.000000 sec
result: <span id=first class=1> foo <span class=2> bar <span class=3> baz
expect: span.1 text("foo") span.2 text("bar") span.3 text("baz")
judge : OK (-)

No.11
expr  : id('last')/preceding-sibling::*/preceding-sibling::*
time  : 0.000000 sec
result: <span id=first class=1> <span class=2>
expect: span.1 span.2
judge : OK (-)

No.12
expr  : id('last')/preceding-sibling::node()/preceding-sibling::node()
time  : 0.000000 sec
result: <span id=first class=1> foo <span class=2> bar <span class=3>
expect: span.1 text("foo") span.2 text("bar") span.3
judge : OK (-)

No.13
expr  : id('last')/preceding-sibling::*[1]
time  : 0.000000 sec
result: <span class=3>
expect: span.3
judge : OK (-)

No.14
expr  : id('last')/preceding-sibling::node()[1]
time  : 0.000000 sec
result: baz
expect: text("baz")
judge : OK (-)

No.15
expr  : id('last')/preceding-sibling::*/preceding-sibling::*[1]
time  : 0.000000 sec
result: <span id=first class=1> <span class=2>
expect: span.1 span.2
judge : OK (-)

No.16
expr  : id('last')/preceding-sibling::node()/preceding-sibling::node()[1]
time  : 0.015000 sec
result: <span id=first class=1> foo <span class=2> bar <span class=3>
expect: span.1 text("foo") span.2 text("bar") span.3
judge : OK (-)