[NETCONF-192] Remove use of org/opendaylight.yangtools.yang.data.impl.schema.transform from sal-restconf-connector Created: 02/May/16  Updated: 15/Mar/19  Resolved: 02/Aug/17

Status: Resolved
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Robert Varga 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: 5825

 Description   

The parser/serializer infrastructure in data.impl.schema.transform is deprecated, remove it from netconf components. The replacement lives in yang-data-codec-xml.



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

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

Comment by Igor Foltin [ 19/Jul/17 ]

Fix #2: https://git.opendaylight.org/gerrit/#/c/60566/

Comment by Igor Foltin [ 27/Jul/17 ]

Currently, we transform Documents to Strings, so that we can pass them to
XMLInputFactory.createXMLStreamReader(Reader) within a StringReader.

This affects performance badly, so it would be better to use DOMSource instead of String. However, the XMLInputFactory.createXMLStreamReader(Source) accepts only StreamSource.

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

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