File tree Expand file tree Collapse file tree 2 files changed +2
-31
lines changed
main/java/org/exist/xquery/functions/fn Expand file tree Collapse file tree 2 files changed +2
-31
lines changed Original file line number Diff line number Diff line change 42
42
43
43
public class FunSerialize extends BasicFunction {
44
44
45
- private final static String DEFAULT_ITEM_SEPARATOR = "\n " ;
45
+ private final static String DEFAULT_ITEM_SEPARATOR = " " ;
46
46
47
47
public final static FunctionSignature [] signatures = {
48
48
new FunctionSignature (
Original file line number Diff line number Diff line change @@ -214,8 +214,7 @@ function ser:serialize-empty-params() {
214
214
};
215
215
216
216
declare
217
- %test:assertEquals("aaa
218
- bbb" )
217
+ %test:assertEquals("aaa bbb" )
219
218
function ser:serialize-atomic () {
220
219
let $nodes := ("aaa" , "bbb" )
221
220
return
@@ -775,31 +774,3 @@ function ser:item-separator-text-method() {
775
774
let $data := (1 , 2 )
776
775
return ser:serialize-with-item-separator ($data, "text" )
777
776
};
778
-
779
- declare
780
- %test:assertEquals("1--2" )
781
- function ser:item-separator-html-method () {
782
- let $data := (1 , 2 )
783
- return ser:serialize-with-item-separator ($data, "html" )
784
- };
785
-
786
- declare
787
- %test:assertEquals("1--2" )
788
- function ser:item-separator-xhtml-method () {
789
- let $data := (1 , 2 )
790
- return ser:serialize-with-item-separator ($data, "xhtml" )
791
- };
792
-
793
- declare
794
- %test:assertEquals("1--2" )
795
- function ser:item-separator-xml-method () {
796
- let $data := (1 , 2 )
797
- return ser:serialize-with-item-separator ($data, "xml" )
798
- };
799
-
800
- declare
801
- %test:assertEquals("1--2" )
802
- function ser:item-separator-adaptive-method () {
803
- let $data := (1 , 2 )
804
- return ser:serialize-with-item-separator ($data, "adaptive" )
805
- };
You can’t perform that action at this time.
0 commit comments