@@ -6,8 +6,8 @@ package <empty> {
6
6
};
7
7
def x = {
8
8
val $buf = new _root_.scala.xml.NodeBuffer();
9
- $buf.$amp$plus(new _root_.scala.xml.Text ("hi & bye"));
10
- $buf.$amp$plus(new _root_.scala.xml.Text ("red & black"));
9
+ $buf.$amp$plus(new _root_.scala.xml.PCData ("hi & bye"));
10
+ $buf.$amp$plus(new _root_.scala.xml.PCData ("red & black"));
11
11
$buf
12
12
}
13
13
};
@@ -24,7 +24,8 @@ package <empty> {
24
24
new _root_.scala.xml.Elem(null, "b", _root_.scala.xml.Null, $scope, true)
25
25
}
26
26
});
27
- $buf.$amp$plus(new _root_.scala.xml.Text("starthi & bye"));
27
+ $buf.$amp$plus(new _root_.scala.xml.Text("start"));
28
+ $buf.$amp$plus(new _root_.scala.xml.PCData("hi & bye"));
28
29
$buf.$amp$plus({
29
30
{
30
31
new _root_.scala.xml.Elem(null, "c", _root_.scala.xml.Null, $scope, true)
@@ -36,7 +37,8 @@ package <empty> {
36
37
new _root_.scala.xml.Elem(null, "d", _root_.scala.xml.Null, $scope, true)
37
38
}
38
39
});
39
- $buf.$amp$plus(new _root_.scala.xml.Text("stuffred & black"));
40
+ $buf.$amp$plus(new _root_.scala.xml.Text("stuff"));
41
+ $buf.$amp$plus(new _root_.scala.xml.PCData("red & black"));
40
42
$buf
41
43
}: _*))
42
44
}
@@ -46,18 +48,19 @@ package <empty> {
46
48
def $init$() = {
47
49
()
48
50
};
49
- def d = new _root_.scala.xml.Text ("hello, world");
51
+ def d = new _root_.scala.xml.PCData ("hello, world");
50
52
def e = {
51
53
val $buf = new _root_.scala.xml.NodeBuffer();
52
- $buf.$amp$plus(new _root_.scala.xml.Text ("hello, world"));
53
- $buf.$amp$plus(new _root_.scala.xml.Text ("hello, world"));
54
+ $buf.$amp$plus(new _root_.scala.xml.PCData ("hello, world"));
55
+ $buf.$amp$plus(new _root_.scala.xml.PCData ("hello, world"));
54
56
$buf
55
57
};
56
58
def f = {
57
59
{
58
60
new _root_.scala.xml.Elem(null, "foo", _root_.scala.xml.Null, $scope, false, ({
59
61
val $buf = new _root_.scala.xml.NodeBuffer();
60
- $buf.$amp$plus(new _root_.scala.xml.Text("xhello, world"));
62
+ $buf.$amp$plus(new _root_.scala.xml.Text("x"));
63
+ $buf.$amp$plus(new _root_.scala.xml.PCData("hello, world"));
61
64
$buf
62
65
}: _*))
63
66
}
@@ -66,7 +69,7 @@ package <empty> {
66
69
{
67
70
new _root_.scala.xml.Elem(null, "foo", _root_.scala.xml.Null, $scope, false, ({
68
71
val $buf = new _root_.scala.xml.NodeBuffer();
69
- $buf.$amp$plus(new _root_.scala.xml.Text ("hello, world"));
72
+ $buf.$amp$plus(new _root_.scala.xml.PCData ("hello, world"));
70
73
$buf
71
74
}: _*))
72
75
}
@@ -75,7 +78,8 @@ package <empty> {
75
78
{
76
79
new _root_.scala.xml.Elem(null, "foo", _root_.scala.xml.Null, $scope, false, ({
77
80
val $buf = new _root_.scala.xml.NodeBuffer();
78
- $buf.$amp$plus(new _root_.scala.xml.Text("hello, worldhello, world"));
81
+ $buf.$amp$plus(new _root_.scala.xml.PCData("hello, world"));
82
+ $buf.$amp$plus(new _root_.scala.xml.PCData("hello, world"));
79
83
$buf
80
84
}: _*))
81
85
}
0 commit comments