Riyafa Abdul Hameed created VXQUERY-189:
-------------------------------------------
Summary: Separate values in a sequence using single space when
serializing
Key: VXQUERY-189
URL: https://issues.apache.org/jira/browse/VXQUERY-189
Project: VXQuery
Issue Type: Bug
Reporter: Riyafa Abdul Hameed
Current implementation of the serializer uses a new line(\n) character to
separate the values in a sequence when printing them. In some cases it is
necessary to have a single whitespace between values. It is essential to find
out where the new line is introduced and to decide in which cases we want a
single-space and in which one a new line is preferable.
For an example consider the function fn:tokenize():
The expected result for fn:tokenize("The cat sat on the mat", "\s+") is:
The cat sat on the mat
But the result generated and printed on the console is:
The
cat
sat
on
the
mat
which is incorrect.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)