Error codesState

An element named by an IDREF cannot also declare an id

MARKLESS_ELEMENT_HANDLE_IDREF_ID_CONFLICTerrorMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_ELEMENT_HANDLE_IDREF_ID_CONFLICT: Cannot mint the id for el={<handleName>} because this element already declares an id attribute.
An IDREF position is written from the id the compiler mints for the bound element. A second, authored id on the same element would emit two id attributes and leave the relationship pointing at whichever one the HTML parser kept.
Remove the authored id from this element, or drop the element() handle and write the IDREF attribute with your own id string.
https://markless.dev/errors/MARKLESS_ELEMENT_HANDLE_IDREF_ID_CONFLICT

Words in angle brackets change from case to case.

Why

An IDREF position is written from the id the compiler mints for the bound element. A second, authored id on the same element would emit two id attributes and leave the relationship pointing at whichever one the HTML parser kept.

Fix

Remove the authored id from this element, or drop the element() handle and write the IDREF attribute with your own id string.

Where Markless raises it

All error codes