openlibhums / openlibhums/janeway
XSLT: Adds support for `ext-link-type="url"` for <ext-link> objects
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 238
- Forks
- 97
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 8
Description
Is your feature request related to a problem? Please describe.
Some typesetters use the value "url" rather than "uri" for the ext-link-type attribute. This is not the JATS recommendation but it is worth supporting it if its usage is widespread
Describe the solution you'd like
ext-link objects with an attribute of ext-link-type set to url should behave in the same way as those who have it set to uri
Additional context
https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/ext-link.html
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the XSLT templates that handle ext-link objects and inspect how ext-link-type="uri" is processed. Update the relevant transformation so ext-link-type="url" follows the same path, then verify that both attribute values produce equivalent output using the project's existing tests or XSLT checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- xml
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100