One element() handle per IDREF attribute
The message
MARKLESS_ELEMENT_HANDLE_IDREF_COMPOSITE: One element() handle per IDREF attribute
The compiler resolves the relationship and the emitter mints the id. Combining handles would require the compiler to spell and order ids it cannot see, and id spelling is not something this record owns.
Reference one element() handle directly, as <attributeName>={handle}.
https://markless.dev/errors/MARKLESS_ELEMENT_HANDLE_IDREF_COMPOSITEWords in angle brackets change from case to case.
Why
The compiler resolves the relationship and the emitter mints the id. Combining handles would require the compiler to spell and order ids it cannot see, and id spelling is not something this record owns.
Fix
Reference one element() handle directly, as <attributeName>={handle}.