Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version number, take 2 #2599

Draft
wants to merge 72 commits into
base: dev
Choose a base branch
from
Draft

version number, take 2 #2599

wants to merge 72 commits into from

Conversation

sydb
Copy link
Member

@sydb sydb commented Oct 6, 2024

For the moment this branch is a partiallly working version of version sublcasses that is NOT ready for actual use, yet — in large part untested, and prose not written. This version is simply for Council to see if they like it, but (I think) it does address the problem for which original ticket was open.

@sydb
Copy link
Member Author

sydb commented Oct 10, 2024

All tests pass on my local system (Padfoot, not in the Docker).

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this needs a new remarks element explaining that its content can be one of four different formats of version, and perhaps pointing to the definitions of the dataSpecs. It's going to be quite challenging to figure out which specific dataSpec you're not quite aligning with when you get error messages typing a version string.

Copy link
Member Author

Choose a reason for hiding this comment

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

Agreed, although I have no intention of putting in that effort until Council approves the general approach.

sydb added 3 commits November 11, 2024 12:50
purpose, re-create table of modules. (Note that new table reverses the position of
the “Where defined” and “FPI” columns.)
sydb and others added 4 commits November 27, 2024 21:12
* Bug fix:
Constraint was looking for _all_ descendant text nodes of eg element,
not just child text nodes. That means that if there is any phrase-level
encoding in an eg element there is more than one text node that has (for
example) position()=last(), and the XPath fails because only one item is
allowed as the first argument to matches().

* Better fix:
Per suggestion of @martindholmes, instead of trying to select the correct
descendant text node(s), just examine the string value of the entire eg
element as a whole. The string() function call is not technically necessary
(because matches() wants a string there, it would happen automagically),
but its use makes what we are doing explicit and obvious.
GusRiva and others added 30 commits December 10, 2024 19:02
table of modules — re-generated based on new utility
* Remove vestiges of calendar= deprecation

* replaced deletion of calendar attribute on date with deletion of att.calendarSystem

---------

Co-authored-by: Syd Bauman <[email protected]>
…s, added clarification to example in line spec
adding xml:lang=en to constraintDecl’s constraintSpec.
add `@scope` to `<language>` by factoring a new class from `@scope` of att.handFeatures
attribute class inclusions in ST (the "tei" module). No
changes to prose or schema, just re-arranged the sequence
of attribute specifications and added comments to explain
it.
improve editability of inclusion of attribute classes into ST
…able

Guessing @trishaoconnor did not notice this one was assigned to her; merging on her behalf tonight so we need not discuss at meeting tomorrow.
Updated specs for `<line>` and `<lb>`
…after manual merge of application and att.styleDef
solves the problem for which the original ticket was opened, IIRC).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.