@@ -65,22 +65,22 @@ public final class MultiUpdateTest extends SandboxTest {
6565
6666 /** Rename processing instructions. */
6767 @ Test public void renamePIs () {
68- final String input = "<xml><?old ?><?old ?></xml>" ;
68+ final String input = "<xml><?old?><?old?></xml>" ;
6969 query (input + " update { rename nodes ./processing-instruction(unknown) as 'new' }" ,
7070 input );
7171 query (input + " update { rename nodes head(./processing-instruction()) as 'new' }" ,
72- "<xml><?new ?><?old ?></xml>" );
72+ "<xml><?new?><?old?></xml>" );
7373 query (input + " update { rename nodes tail(./processing-instruction()) as 'new' }" ,
74- "<xml><?old ?><?new ?></xml>" );
74+ "<xml><?old?><?new?></xml>" );
7575 query (input + " update { rename nodes ./processing-instruction() as 'new' }" ,
76- "<xml><?new ?><?new ?></xml>" );
76+ "<xml><?new?><?new?></xml>" );
7777 }
7878
7979 /** Rename mixed nodes. */
8080 @ Test public void renameMixed () {
81- final String input = "<element attribute=''><?pi ?></element>" ;
81+ final String input = "<element attribute=''><?pi?></element>" ;
8282 query (input + " update { rename nodes (., @*, node()) as 'new' }" ,
83- "<new new=\" \" ><?new ?></new>" );
83+ "<new new=\" \" ><?new?></new>" );
8484 }
8585
8686 /** Rename: errors. */
@@ -154,7 +154,7 @@ public final class MultiUpdateTest extends SandboxTest {
154154
155155 /** Replace mixed nodes. */
156156 @ Test public void replaceMixed () {
157- final String input = "<xml><element attribute=''/><?pi ?></xml>" ;
157+ final String input = "<xml><element attribute=''/><?pi?></xml>" ;
158158 query (input + " update { replace nodes ./node() with <new/> }" ,
159159 "<xml><new/><new/></xml>" );
160160 query (input + " update { replace nodes ./node() with 'new' }" ,
@@ -199,9 +199,9 @@ public final class MultiUpdateTest extends SandboxTest {
199199
200200 /** Replace value of other nodes. */
201201 @ Test public void replaceValueOfOthers () {
202- final String input = "<xml><!--X--><?pi ?></xml>" ;
202+ final String input = "<xml><!--X--><?pi?></xml>" ;
203203 query (input + " update { replace value of nodes comment() with 'NEW' }" ,
204- "<xml><!--NEW--><?pi ?></xml>" );
204+ "<xml><!--NEW--><?pi?></xml>" );
205205 query (input + " update { replace value of nodes processing-instruction() with 'NEW' }" ,
206206 "<xml><!--X--><?pi NEW?></xml>" );
207207 query (input + " update { replace value of nodes node() with 'NEW' }" ,
0 commit comments