Skip to content

Conversation

@cmangeat
Copy link
Contributor

@cmangeat cmangeat commented Dec 11, 2025

This PR adresses three requirements:

  1. Iso19115-3.2018 linkages are multilingual elements, when displaying them,
    A sequence of more than one item is not allowed as the first argument of string() (<gco:CharacterString/>, <lan:PT_FreeText/>)
    error must be avoided.

  2. Furthermore, based on ui's language, the correct url should be chosen.

  3. At the end, many scenarios should be supported:
    there is a name and an url in xml -> in html, name carry the url (href),
    there is no name but a url -> in html, 'url text' carry the url,
    there is a name but no url -> a text is displayed with no href.

Checklist

  • I have read the contribution guidelines

  • Pull request provided for main branch, backports managed with label

  • Good housekeeping of code, cleaning up comments, tests, and documentation

  • Clean commit history broken into understandable chucks, avoiding big commits with hundreds of files, cautious of reformatting and whitespace changes

  • Clean commit messages, longer verbose messages are encouraged

  • API Changes are identified in commit messages

  • Testing provided for features or enhancements using automatic tests

  • User documentation provided for new features or enhancements in manual

  • Build documentation provided for development instructions in README.md files

  • Library management using pom.xml dependency management. Update build documentation with intended library use and library tutorials or documentation

  • Funded by geocat.ch

@cmangeat cmangeat force-pushed the iso19115-3_citation_linkage_multilingual_support branch from 9e9d109 to 681130d Compare December 11, 2025 10:37
@cmangeat cmangeat force-pushed the iso19115-3_citation_linkage_multilingual_support branch from 681130d to de69a18 Compare December 11, 2025 10:56
@cmangeat cmangeat changed the title Iso19115 3 citation linkage multilingual support Iso19115-3.2018, full view, linkage multilingual support Dec 11, 2025
@cmangeat cmangeat marked this pull request as ready for review December 11, 2025 11:22
@cmangeat
Copy link
Contributor Author

test control file could be impacted by #9123

Copy link
Member

@jahow jahow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! this change looks good.

@jahow jahow merged commit a55959a into geonetwork:main Dec 19, 2025
7 checks passed
Copy link
Contributor

@sebr72 sebr72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, Especially the test part of it.

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

Successfully merging this pull request may close these issues.

3 participants