ExoMars-PanCam / passthrough

Template-Driven PDS4 Product Generation
MIT License
4 stars 1 forks source link

Consider supporting multi-fetched interleaved children #18

Open LandingEllipse opened 3 years ago

LandingEllipse commented 3 years ago

If a fetched Table_Binary intersperses Group_Field_Binary and Field_Binary then things get really tricky on the template definition side of things. Either that, or it gets really verbose. There might be a case for allowing document-order fetching of several candidate children of a class.

Would probably require a new property to be defined - on the children in question - which in essence would say: "together with my siblings that also declare this property, fetch us [respecting multi if present] from the active source and ensure that instances of us end up in the same document order".

"Respect my document order authority"...