[teiid-issues] [JBoss JIRA] (TEIID-5242) XML/JSON issues

Steven Hawkins (JIRA) issues at jboss.org
Wed Jan 31 14:54:00 EST 2018


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

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


Corrected the json attribute logic and captured the event iterators as reusable lists.

> XML/JSON issues
> ---------------
>
>                 Key: TEIID-5242
>                 URL: https://issues.jboss.org/browse/TEIID-5242
>             Project: Teiid
>          Issue Type: Quality Risk
>          Components: Query Engine
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 10.2, 10.0.3, 9.3.7, 10.1.1
>
>
> TEIID-5233 highlighted a couple of issues with xml and json:
> XMLEventStreamReader is very inefficient in dealing with a large number of attributes/namespaces as the iterator was traversed on each access.
> JsonToXmlContentHandler was not strictly correct in the events that it emitted.  Namespace and attribute events should be associated with their respective start/end element events.  While the JRE libraries are tolerant to emitting the events separately, Saxon was not.  To prevent issues with embedded consumers reading directly from the stax event stream this should be corrected.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the teiid-issues mailing list