-
Notifications
You must be signed in to change notification settings - Fork 86
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
Adjustments for deprecation of @calendar #2473
Conversation
During the 2023-10/13 council call we decided to:
|
…d time to att.calendarSystem. Added a calendar attribute with @validUntil to all the elements that it will be removed from.
…ing files I inadvertently nuked
Discovered that trying to delete @Calendar from att.datable (where it no longer exists) caused the attribute to be duplicated, not deleted. Not sure why, but the fast fix is to just stop deleting it. Of course that means these two schemas now have @Calendar when they shouldn’t. Probably need to add the 41 or so deletions needed to do so now.
... should not actually change any validation — 1. use default namespace instead of declaring tei: prefix and using it; 2. trim 2nd GI off @Ident iff needed.
P5/Exemplars/tei_jtei.odd
Outdated
@@ -1993,9 +1993,9 @@ | |||
<attDef ident="group" mode="delete"/> | |||
</attList> | |||
</classSpec> | |||
<!-- We should be removing @calendar here!! --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sydb, this comment can go now, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uhhh … do we not need to do what it says, first? I mean these exemplars are not supposed to have a @calendar
attribute.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it's done AFAIK! The attribute is no longer in att.datable
in this PR's code.
P5/Exemplars/tei_lite.odd
Outdated
<attDef ident="calendar" mode="delete"/> | ||
</attList> | ||
</classSpec> | ||
<!-- We should be removing @calendar here!! --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto, this can go, @sydb ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests pass (including tei_jtei and tei_lite), and otherwise seems to look OK.
To be discussed at the next council meeting because we need to decide whether to do Step 0 below which would cause a delay to the deprecation period.
Optional Step 0:
@calendar
viaatt.datable
, because:Step 1:
date
,docDate
,origDate
, andtime
members ofatt.calendarSystem
@calendar
fromatt.datable
@calendar
on the 40+ elements that it needs to be removed from and provide@validUntil
on those attributes. This will make sure that the deprecation notice appears on the guidelines as well as in the generated schema.Step 2:
@calendar
from the elements.