geonetwork / geonetwork/core-geonetwork

19139 / INSPIRE strict rules validator conformity checks

Open
#5,334 5 comments 1 reaction 1 assignee Claimed by @etj View on GitHub
stale
Dominant language
Java
Stars
521
Forks
514
Avg merge
6d 13h
Merged PRs (30d)
19

Description

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a metadata
2. Fill in the Quality Conformance as expected by INSPIRE
3. Run the internal validation
4. You will see a lot of "Invalid Conformity Title", even if you have only one `dataQualityInfo` element.

This is because the declared schematron rule context:
```

$loc/strings/conformity


```
will loop over all `geonet:attribute` elements.

**Expected behavior**
The conformance statement should be properly evaluated, but you get lots of errors.

**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/717359/104339850-56cf9780-54f8-11eb-818c-b43e41d32ea4.png)

**Desktop (please complete the following information):**
- GeoNetwork Version 3.10.x, 3.11.snapshot

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.