[YANGTOOLS-1487] DOMSourceAnydata marked as private and hence unusable Created: 15/Feb/23 Updated: 01/Mar/23 Resolved: 01/Mar/23 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | codecs |
| Affects Version/s: | None |
| Fix Version/s: | 9.0.5 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Ravi Pendurty | Assignee: | Ravi Pendurty |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
We are trying to parse "anydata" node as part of the "get-data" rpc defined in ietf-netconf-nmda.yang. On trying to cast AnydataNode to DOMSourceAnydata, we found that the DOMSourceAnydata is private. Shouldn't this be public so that developers can use it for AnydataNode normalization? Also, could not find AnydataNodeBuilders to build AnydataNode objects for use in Subtree filtering.
highstreetherbert , FYI... |
| Comments |
| Comment by Robert Varga [ 16/Feb/23 ] |
|
DOMSourceAnydata is an implementation detail. Normalization is exposed via NormalizableAnydata interface. |
| Comment by Ravi Pendurty [ 01/Mar/23 ] |
|
Thank you rovarga . |