@@ -46,17 +46,17 @@ public class GeneralTest {
4646 @ Test
4747 public void newlineInAttributeCrLf () throws Exception {
4848 String expected =
49- "[synth](HTML " + NL
49+ "[synth](html " + NL
5050 + "[synth](head" + NL
5151 + "[synth])head" + NL
52- + "[synth](BODY " + NL
52+ + "[synth](body " + NL
5353 + "[1,1,0;1,11,10]\" some text " + NL
5454 + "[1,11,10;2,23,52](span" + NL
5555 + "Aclass value\\ ncontaining a newline" + NL
5656 + "[2,23,52;2,34,63]\" spancontent" + NL
5757 + "[2,34,63;2,41,70])span" + NL
58- + "[synth])BODY " + NL
59- + "[synth])HTML " + NL ;
58+ + "[synth])body " + NL
59+ + "[synth])html " + NL ;
6060 doTest ("some text <span class='value\r \n "
6161 + "containing a newline'>spancontent</span>" , new String [] {}, expected ,
6262 FEATURES );
@@ -89,17 +89,17 @@ public void newlineInAttributeCrLf() throws Exception {
8989 @ Test
9090 public void newlineInAttributeLf () throws Exception {
9191 String expected =
92- "[synth](HTML " + NL
92+ "[synth](html " + NL
9393 + "[synth](head" + NL
9494 + "[synth])head" + NL
95- + "[synth](BODY " + NL
95+ + "[synth](body " + NL
9696 + "[1,1,0;1,11,10]\" some text " + NL
9797 + "[1,11,10;2,23,51](span" + NL
9898 + "Aclass value\\ ncontaining a newline" + NL
9999 + "[2,23,51;2,34,62]\" spancontent" + NL
100100 + "[2,34,62;2,41,69])span" + NL
101- + "[synth])BODY " + NL
102- + "[synth])HTML " + NL ;
101+ + "[synth])body " + NL
102+ + "[synth])html " + NL ;
103103 doTest ("some text <span class='value\n "
104104 + "containing a newline'>spancontent</span>" , new String [] {}, expected ,
105105 FEATURES );
@@ -132,15 +132,15 @@ public void newlineInAttributeLf() throws Exception {
132132 @ Test
133133 public void newlineInPiCrLf () throws Exception {
134134 String expected =
135- "[synth](HTML " + NL
135+ "[synth](html " + NL
136136 + "[synth](head" + NL
137137 + "[synth])head" + NL
138138 + "[synth](body" + NL
139139 + "[1,1,0;1,11,10]\" some text " + NL
140140 + "[1,11,10;2,23,63]?instruct beforenl='content'\\ n afternl=\" content\" " + NL
141141 + "[2,23,63;3,1,74]\" more text\\ n" + NL
142142 + "[synth])body" + NL
143- + "[synth])HTML " + NL ;
143+ + "[synth])html " + NL ;
144144 doTest ("some text <?instruct beforenl='content'\r \n "
145145 + " afternl=\" content\" ?>more text\r \n " , new String [] {}, expected ,
146146 FEATURES );
@@ -169,15 +169,15 @@ public void newlineInPiCrLf() throws Exception {
169169 @ Test
170170 public void newlineInPiLf () throws Exception {
171171 String expected =
172- "[synth](HTML " + NL
172+ "[synth](html " + NL
173173 + "[synth](head" + NL
174174 + "[synth])head" + NL
175175 + "[synth](body" + NL
176176 + "[1,1,0;1,11,10]\" some text " + NL
177177 + "[1,11,10;2,23,62]?instruct beforenl='content'\\ n afternl=\" content\" " + NL
178178 + "[2,23,62;3,1,73]\" more text\\ n" + NL
179179 + "[synth])body" + NL
180- + "[synth])HTML " + NL ;
180+ + "[synth])html " + NL ;
181181 doTest ("some text <?instruct beforenl='content'\n "
182182 + " afternl=\" content\" ?>more text\r \n " , new String [] {}, expected ,
183183 FEATURES );
@@ -248,7 +248,7 @@ public void parseInputSourceReplacement() throws Exception {
248248 in .setEncoding ("replacement" );
249249 parser .parse (in );
250250
251- final String expected = "(HTML " + NL
251+ final String expected = "(html " + NL
252252 + "(head" + NL
253253 + ")head" + NL
254254 + "(body" + NL
@@ -271,7 +271,7 @@ public void parseInputSourceResolvesToReplacement() throws Exception {
271271 in .setEncoding ("csiso2022kr" );
272272 parser .parse (in );
273273
274- final String expected = "(HTML " + NL
274+ final String expected = "(html " + NL
275275 + "(head" + NL
276276 + ")head" + NL
277277 + "(body" + NL
@@ -303,7 +303,7 @@ public void parseInputSourceIANAEncoding() throws Exception {
303303 // expected
304304 }
305305
306- final String expected = "(HTML " + NL
306+ final String expected = "(html " + NL
307307 + "(head" + NL
308308 + ")head" + NL
309309 + "(body" + NL
0 commit comments