Open nichtich opened 2 years ago
+1, these changes are nice. I can update the tests to mandate empty tags not be preserved in serialization once this is merged.
moving this to kdl-v2
moving this to kdl-v2
I don't think the data model breaks the KDL spec because KDL spec does not define how to internally store the result of parsing. A model is more important for KQL and KDL Schema. Nevertheless it would help to state that a KDL parser MUST preserve at least the information covered by the data model.
Agreed, this should just be capturing the assumptions inherent in the test-suite, and so is suitable for v1.
Noted. Moved back :)
Shall we roll this up as part of KDL 2.0?
Thanks for discussion (https://github.com/kdl-org/kdl/issues/225). In addition to further changes to the specification of KDL Data model, the document should be referenced from other documents in this repository.