[YANGTOOLS-802] Implement DOMWrappingXMLStreamReader in yang-data-codec-xml Created: 28/Jul/17  Updated: 10/Apr/22  Resolved: 30/Jul/17

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Igor Foltin Assignee: Igor Foltin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8906

 Description   

XMLInputFactory.createXMLStreamReader(Source) accepts only StreamSource.

In order to migrate downstream projects (netconf/restconf and controller) to the new XML parser (residing in yang-data-codec-xml) we need a DOMSource parsing XMLStreamReader.

Thus, we need to create an implementation of XMLStreamReader which will accept and parse DOMSource XML representation.



 Comments   
Comment by Igor Foltin [ 30/Jul/17 ]

Actually, we ended up extending the org.codehaus.stax2.ri.dom.DOMWrappingReader.

Fix: https://git.opendaylight.org/gerrit/#/c/60864/

Generated at Wed Feb 07 20:54:21 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.