TEIC / TEI

The Text Encoding Initiative Guidelines
https://www.tei-c.org
Other
276 stars 88 forks source link

On the `@ident` of `<constraintSpec>` #2223

Closed sydb closed 2 years ago

sydb commented 2 years ago

This ticket is part of the solution to Stylesheets ticket 541.

  1. All of the @idents of all <constraintSpec>s in the Guidelines should be unique.
  2. Part of the build testing process should check for said uniqueness.
  3. A <constraintSpec> should be added to warn users if a duplicate constraintSpec/@ident is created (i.e. with @mode of "add"); this could be used to satisfy (2), above.

I made this HIGH priority because it blocks further progress on the Stylesheets issue.

martindholmes commented 2 years ago

The only reason I can imagine for multiple constraintSpecs with the same ident is if they're simply different language versions of the same constraint, and would need to be processed in the same way (deletion or replacement or whatever) when the same ODD is built in different languages. But there are other ways to achieve that, I guess.

HelenaSabel commented 2 years ago

PR #2224 addressed this ticket