plastikfan / jaxom-ts

Another JSON to XML converter with inheritable attributes and custom element consolidation
MIT License
0 stars 0 forks source link

Built elements not normalised without a recurse property #37

Closed plastikfan closed 4 years ago

plastikfan commented 4 years ago

This is due to the function isCombinable. Zenobia needs to build Arguments which is a collection of Argument's. However, Argument is not inheritable like Command's are. But that doesnt mean it should not benefit from normalisation. The isCombinale function needs to be modified to not insisting on the recurse attribute being defined on an element.

branch: no-normalise-without-recurse

plastikfan commented 4 years ago

The current solution requires the id to be declared (in the xml representation) on a parent and it descendants which must also match.