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

content models of <event> and <listEvent> miss chance at appropriate self-abstraction #2524

Closed
sydb opened this issue Jan 20, 2024 · 1 comment

Comments

@sydb
Copy link
Member

sydb commented Jan 20, 2024

The model class model.eventLike has two members: <event> and <listEvent>.

The content models of <event> and <listEvent> each have a clause that refers to the union of those two elements: ( event | listEvent )* and ( event | listEvent )+, respectively.

They should not. They should refer to the class. (That is, model.eventLike* and model.eventLike+, respectively.)

A search through tei_all.rng[1] says these are the only 2 such cases.

Note
[1] Using //r:choice[ child::r:ref[@name='event'] and child::r:ref[@name='listEvent'] ].

@ebeshero
Copy link
Member

ebeshero commented Jul 6, 2024

Completed with #2525

@ebeshero ebeshero closed this as completed Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants