niso-standards / cpld

Content Profile / Linked Document Standard
MIT License
4 stars 0 forks source link

CPLD context in example 1 contains an incorrect entry that causes problems parsing #86

Closed RinkeHoekstra closed 2 years ago

RinkeHoekstra commented 2 years ago

The context defines dct:rights to be of type @id but this should allow for both literals and id values. See https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/rights

This causes problems when the value is not a proper IRI. Some RDF libraries will choke on this and fail to parse the file.