geonetwork / geonetwork/core-geonetwork
19139 / INSPIRE strict rules validator conformity checks
- 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.

**Desktop (please complete the following information):**
- GeoNetwork Version 3.10.x, 3.11.snapshot
Contributor guide
Assessment
This issue has not been assessed yet.