clarin-eric / curation-dashboard

java library for CLARIN's CMDI curation
GNU General Public License v3.0
4 stars 0 forks source link

validation is not namespace aware #6

Closed menzowindhouwer closed 3 years ago

menzowindhouwer commented 8 years ago

The current validation is not namespace aware, this allows invalid CMD records to pass through unnoticed. Take for example:

https://vlo.clarin.eu/data/clarin/results/cmdi/Huygens_Metadata_Repository/oai_oaipmh_huygens_knaw_nl_womenwriters_ffffdb1c_e0b2_4ceb_8720_e13b2498b5bb.xml

The cmdi:Components child elements are all member of the default namespace with URI http://www.openarchives.org/OAI/2.0/. This is not possible in a CMDI records, so this record should be considered invalid.

wowasa commented 5 years ago

the recently published curation 2.0 is namespace aware

twagoo commented 5 years ago

the recently published curation 2.0 is namespace aware

Looks fixed indeed (though Huygens collections are no longer available). Maybe close this?

wowasa commented 3 years ago

this was already fixed in 2019. Although "fixed" is probably not the right expression since I assume the non namespace awareness was one an intended behaviour