-
Bug
-
Resolution: Done
-
Major
-
2.2.0.Final
-
None
I used Delimited text sequencer to process CSV file (named test2.csv) with following content:
Test,row,one
Test,row,two
Test,row,three
after publishing file into repository I looked to sequenced file contents on URL: http://127.0.0.1:8080/modeshape-rest/test-jpa/default/items/sequenced/text/delimited/test2.csv, I obtained this JSON string:
{"properties":
,"children":["ns001:row","ns001:row[2]","ns001:row[3]"]}
this means that there should be three rows, when I looked on http://127.0.0.1:8080/modeshape-rest/test-jpa/default/items/sequenced/text/delimited/test2.csv/ns001:row I got this JSON string:
{"properties":
,"children":["ns001:column"]}
but shouldn't there be three columns? I mean on each row there 3 tokens delimited by comma (I am using default delimiter)
finally on http://127.0.0.1:8080/modeshape-rest/test-jpa/default/items/sequenced/text/delimited/test2.csv/ns001:row/ns001:column I got this JSON string
{"properties":{"ns001:data":"Test,row,one","jcr:primaryType":"nt:unstructured","jcr:mixinTypes":["ns001:column"]}}
Shouldn't ns001:data property contain only "Text" token instead of "Text,row,one" ?
- is related to
-
MODE-952 Zip sequencer does not work correctly
- Closed