Skip to content

Issue 2840 mdh - #2959

Open
martindholmes wants to merge 6 commits into
devfrom
issue-2840-mdh
Open

martindholmes wants to merge 6 commits into
devfrom
issue-2840-mdh

Conversation

@martindholmes

Copy link
Copy Markdown
Contributor

No description provided.

@sydb sydb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Test itself is correct for what it is, and this passes tests locally. So all well and good. But I am a bit concerned that we (ATOP, let alone Council) have not discussed this constraint for <macroSpec> and <dataSpec> (not to mention <constraintSpec> and <paramSpec>) yet.

Comment thread P5/Source/Specs/moduleSpec.xml Outdated
<constraint>
<sch:rule context="tei:*[local-name() = ('elementSpec', 'classSpec', 'macroSpec', 'dataSpec')][not(@module)]">
<sch:report test="true()" role="warning">
The @module attribute will be required on *Spec elements after 2027-09-30.

@sydb sydb Aug 21, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Two thoughts:

  1. Probably better to use &lt;<sch:name/>> instead of “*Spec”, as normal users may never have been exposed to that phrasing, and some would (quite reasonably) presume that <schemaSpec> belongs to that group.
  2. End-of-deprecation date seems a bit close, given that this is backwards-incompatible. It means at most two releases with deprecation, but more likely only one, and at worst (say, a release in Feb and another in Oct) none.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done. I made it <sch:name/> and other *Spec elements because it would be infuriating to hit one error on one spec element, fix it, then get the next one, and so on. At least this way you know what to look for when the first error shows up. Date is now 2028-06-30.

@martindholmes

Copy link
Copy Markdown
Contributor Author

MH to merge dev into the branch, and fix the tests, and then Council says we can merge it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants