GIM-be / core-geonetwork

GeoNetwork repository
http://geonetwork-opensource.org/
GNU General Public License v2.0
1 stars 0 forks source link

Try to initilize the default namespace with the about attribute value of the skos:ConceptScheme element of the thesaurus, as the last fallback. #7

Open gvandeboel opened 6 years ago

gvandeboel commented 6 years ago

In the retrieveThesaurusTitle method of the Thesaurus class the defaultNamespace is initialized with the about attribute of the parent element of the title element, but when the title element not exists, a default value is used, configured in a static variable of the class. It is esier and better to get it from the skos:ConceptScheme element directly as a fallback.