y-crdt / ydotnet

.NET bindings for yrs.
MIT License
35 stars 9 forks source link

Create the XmlElement bindings #17

Closed LSViana closed 1 year ago

LSViana commented 1 year ago

Implement the bindings for the XmlElement struct based on the exposed bindings.

For each bound method, the implementation and unit tests must be written.

LSViana commented 1 year ago

The bindings are done but I'm not merging these changes to main yet because I need to check with the team why yxmlelem_parent is returning null if the reference to the XmlElement instance is retrieved from an Output cell.

LSViana commented 1 year ago

Some follow-up issues were also fixed within this issue's scope:

There's still an open discussion with the team about how to create root-level XmlElement instances (deciding between yxmlelem() or yxmlfragment()) but the fixes, if needed, will be applied by a future PR (probably in the context of the XmlText bindings).