[GeoNetwork-devel] Geonetwork 2.10.1 with MCP profile fails the check.

When running geonetwork 2.10.1 with MCP profile. I keep getting the
following validation error and I cannot seem to fix it.

Topic category is mandatory if MD_Metadata.hierarchyLevel equal 'dataset' or
'series' or doesn't exist.

I tried validating the sample data and it fails with the same error. I'm
quite sure this used to work in 2.8. Do you know what change could have
cause this?

Thank you

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geonetwork-2-10-1-with-MCP-profile-fails-the-check-tp5070020.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

I found the bug in schematron-rules-iso-mcp.sch

Looks like "false" should have been "false()" when testing the $topic

- test="$topic = false"
+ test="$topic = false()"

I will work on sending up a pull request for this fix next week.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geonetwork-2-10-1-with-MCP-profile-fails-the-check-tp5070020p5070536.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.