[teiid-issues] [JBoss JIRA] (TEIID-3604) jsontoxml produces wrong result with nested multi-dimensional arrays

Steven Hawkins (JIRA) issues at jboss.org
Fri Jul 31 13:59:01 EDT 2015


     [ https://issues.jboss.org/browse/TEIID-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-3604.
-----------------------------------
    Resolution: Done


Updated the logic to work below the root as well.

This should be considered for 8.7.x as well.

> jsontoxml produces wrong result with nested multi-dimensional arrays
> --------------------------------------------------------------------
>
>                 Key: TEIID-3604
>                 URL: https://issues.jboss.org/browse/TEIID-3604
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 8.4
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.12, 8.11.2
>
>
> A json doc with a multi-dimensional array below the root level will have its elements flattened rather than nested in the xml.  For example:
> {foo : [[1,2],[3,4]]}
> is producing 1,2,3,4 as siblings rather than nested as:
> <foo>
>    <foo>1</foo>
>    <foo>2</foo>
> </foo>
> <foo>
>    <foo>3</foo>
>    <foo>4</foo>
> </foo>



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the teiid-issues mailing list