Open wangf1122 opened 2 years ago
Due to the previous PR https://github.com/metadata101/iso19139.ca.HNAP/pull/230
The xlink:role attribute will be added to "gmd:onLine" tag based on the description of the language. The language in the description comes from
https://github.com/metadata101/iso19139.ca.HNAP/blob/85aeb8ebb04c40965ba9acf6630fb6d2865b2ae4/src/main/config/codelist/local/thesauri/theme/GC_Resource_Languages.rdf#L35
But there is special case where language is eng;fra. Therefore xlink:role="urn:xml:lang:fra-CAN" was added
This will affect the validation in schematron. As current validation rule test if two gmd:online web service for both English and French should exist.
Due to the previous PR https://github.com/metadata101/iso19139.ca.HNAP/pull/230
The xlink:role attribute will be added to "gmd:onLine" tag based on the description of the language. The language in the description comes from
https://github.com/metadata101/iso19139.ca.HNAP/blob/85aeb8ebb04c40965ba9acf6630fb6d2865b2ae4/src/main/config/codelist/local/thesauri/theme/GC_Resource_Languages.rdf#L35
But there is special case where language is eng;fra. Therefore xlink:role="urn:xml:lang:fra-CAN" was added
This will affect the validation in schematron. As current validation rule test if two gmd:online web service for both English and French should exist.