Skip to content

only one @ident per type of specification - #2991

Draft
sydb wants to merge 1 commit into
devfrom
sydb_2848_flag_duplicate_idents
Draft

sydb wants to merge 1 commit into
devfrom
sydb_2848_flag_duplicate_idents

Conversation

@sydb

@sydb sydb commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Address #2848.

Add constraint that limits the values of @ident so that there are no duplicates among specifications of classes, constraints, datatypes, elements, macros, modules, and prefixes.

As written the new constraint limits @ident within the given base or customization ODD file. The new constraint does not work across files.

But more importantly, it examines all @ident values on the given elements in the given file. Thus this PR is not ready until we have figured out #2877. If we decide to allow multiple <schemaSpec>s the constraint here will need to be updated.

Also note that builds will fail until TEIC/Stylesheets#819 is used.

the values of ident= so that there are no duplicates among specifications
of classes, constraints, datatypes, elements, macros, modules, and prefixes.
@sydb sydb self-assigned this Oct 19, 2026
@sydb sydb added TEI: ODD TEI: Guidelines & Documentation Status: Pending pending action described in a comment, to return to discussion before further action will be taken TEI: Schematron labels Oct 19, 2026
@martindholmes
martindholmes self-requested a review October 27, 2026 16:27

@martindholmes martindholmes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested the build with the appropriate Stylesheets branch today, and it worked fine. I still haven't examined the commits properly, though.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Pending pending action described in a comment, to return to discussion before further action will be taken TEI: Guidelines & Documentation TEI: ODD TEI: Schematron

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants