Skip to content

[Backport 4.2.x] Indexing / ISO19115-3 / Resource identifier may contain character to escape #8937

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

Open
wants to merge 1 commit into
base: 4.2.x
Choose a base branch
from

Conversation

geonetworkbuild
Copy link
Collaborator

Backport #8856
Authored by: @fxprunayre

…escape

Error reported:

```
2025-06-12T13:39:44,264 ERROR [geonetwork.index] - Parsing invalid JSON node { "code": "FR-33071536800305-IFR-LERN-"Titre"", "codeSpace": "", "link": "" } for property resourceIdentifier. Error is: Unexpected character ('T' (code 84)): was expecting comma to separate Object entries
 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 41]
```


eg.
```xml
          <cit:identifier>
            <mcc:MD_Identifier>
              <mcc:authority />
              <mcc:code>
                <gco:CharacterString>FR-33071536800305-IFR-LERN-"Titre"</gco:CharacterString>
              </mcc:code>
            </mcc:MD_Identifier>
          </cit:identifier>
```
Copy link

@ianwallen ianwallen added this to the 4.2.14 milestone Jul 20, 2025
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