[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.
I do not understand the question about AnydataNodeBuilders, I am pretty sure they are co-located with all the others.

Comment by Ravi Pendurty [ 01/Mar/23 ]

Thank you rovarga

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