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

More DAS @sec-type error values #12

Open
Melissa37 opened this issue Oct 8, 2019 · 4 comments
Open

More DAS @sec-type error values #12

Melissa37 opened this issue Oct 8, 2019 · 4 comments
Assignees

Comments

@Melissa37
Copy link

@jeffbeckncbi

@sec-type=”data-availability”. Use this attribute on the containing the DAS.

[[Validator result: ERROR: <sec @sec-type=””> with following values found anywhere in XML document: if encounter any @sec-type labelled “Data availability”, “Data Availability”, “Data-Availability”, “data availability statement”, “Data availability statement”, “Data Availability Statement”, “data-availability-statement” “Data-availability-statement”, “Data-Availability-Statement”, “Data_Availability”, “data_availability-statement”, “Data_availability-statement”, “Data_Availability-Statement”, “data_availability”, “Data Accessibility” “Data accessibility”]]

Rebecca Orris has identified a whole bunch more we can add to the exceptions list:
Data availability
Data availability statement(s)
Data accessibility
Data accessibility statement(s)
Availability of data and material(s)
Data and code availability
Code and data availability
Data and software availability
Software and data availability
Availability and data format(s)
Availability of data
Availability of supporting data
Correlates of data availability
Data archiving statement(s)
Data deposition and access
Direct link to deposited data
Raw data availability

@fred-atherden
Copy link
Collaborator

@Melissa37, are these sec-type values which we need to error on, or are they section titles for DAS which we'll need to fire warnings on?

Title. Use a <title> element to contain the title (“Data Availability”), and contain the substance of the text within

. [[Validator tool result: WARNING: <title> not found, or content not match “Data Availability”]]

Or both?

@Melissa37
Copy link
Author

@FAtherden-eLife The are the
These are for the 'sec-type' values
Content within '<title>' for DAS are display terms and so JATS4R passes no judgment on them, and it's up to the publisher what they add there.

@fred-atherden
Copy link
Collaborator

Thanks - I was just confused because, in the recs it does say that the title should be 'Data availability' and says theres a warning for it:

  1. Title. Use a <title> element to contain the title (“Data Availability”), and contain the substance of the text within <p>. [[Validator tool result: WARNING: <title> not found, or content not match “Data Availability”]]

I'll add include these for the sec-type test.

@Melissa37
Copy link
Author

@jeffbeckncbi Do you recall why we would insist on a display term at JATS4R?
There was a rule but it's been edited out. Should we change the text in the Rec to not pass comment on the content of title?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants