openlibhums / openlibhums/janeway

XSLT: Adds support for `ext-link-type="url"` for <ext-link> objects

Open
#2,297 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new feature XSLT
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.