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

Standard / ISO19115-3 / Formatter / Fix citation. #245

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

pmauduit
Copy link
Member

@fvanderbiest
Copy link
Member

👍

@fvanderbiest fvanderbiest added this to the 23.0.1 milestone Jun 15, 2023
@fvanderbiest fvanderbiest merged commit 474f238 into georchestra-gn4.2.x Jun 15, 2023
@fvanderbiest fvanderbiest deleted the fix-citation-backport branch June 15, 2023 12:59
@pmauduit
Copy link
Member Author

pmauduit commented Jun 15, 2023

Giving a bit more context about this one: the sitemap generated by GN (/geonetwork/srv/api/sitemap?format=html&doc=1) was generating something similar to the following document:

<urlset xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dct="http://purl.org/dc/terms/">
  <url>
    <loc>https://dev.geo2france.fr/geonetwork/srv/api/records/9adebcb215340bd6bdeccc7813f1c11de5060c32?language=all</loc>
    <lastmod>2023-06-15</lastmod>
  </url>
  <url>
    <loc>https://dev.geo2france.fr/geonetwork/srv/api/records/entreprises-du-numerique-du-dunkerquois?language=all</loc>
    <lastmod>2023-06-15</lastmod>
  </url>
...

Each listed URLs were ending up with the 400 HTTP error code. It turned out that there were some missing template declarations in the xsl transformation. Including the 3 missing xsl files into the xsl stylesheet made 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