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 · 0 comments
Open

missing <listRef>s? #2652

sydb opened this issue Jan 12, 2025 · 0 comments

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.

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

1 participant