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

missing <listRef>s? #2652

Open
sydb opened this issue Jan 12, 2025 · 1 comment
Open

missing <listRef>s? #2652

sydb opened this issue Jan 12, 2025 · 1 comment

Comments

@sydb
Copy link
Member

sydb commented Jan 12, 2025

A quick analysis demonstrates that many specifications do not have a <listRef>. Most of them probably should.

fn.1 # have <listRef> # do not % do % not
model.* 72 56 56% 44%
teidata.* 1 35 03% 97%
att.* 58 27 68% 32%
macro.* 6 2 75% 25%
listRef 0 1 all 1
outputRendition 0 1 all 1
paramList 0 1 all 1

Those last 3 are individual elements. I did not list the other 580+ elements that do have a <listRef>. (There are no specification files that have > 1.)

Note-to-self
$ xsel -t -m "/*[count(//t:listRef)=0]" -f -n Source/Specs/*.xml | perl -pe 's,\..*,.,;' | rank
and the same with 1 instead of 0. Then created table of values by hand; then added percentages w/ Emacs macro & hand editing.

@sydb
Copy link
Member Author

sydb commented Feb 10, 2025

I assigned 4 people to this ticket because there are just over 123 cases to be checked. I thought the labor could be divided among us.

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

4 participants