[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 |
||
| 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 ] |
| Comment by Igor Foltin [ 19/Jul/17 ] |
| Comment by Igor Foltin [ 27/Jul/17 ] |
|
Currently, we transform Documents to Strings, so that we can pass them to 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. |