Closed martinpub closed 3 years ago
Hi @martinpub
Do you have an example where this applies. At the moment it checks that the identifier doesn't start with isbn och issn and if so it should be allowed, but if they are used it needs to be a number and might end in an X.
In the above validator error, the value started with urn:isbn: which should be validated.
I might have missed some detail here but the rule seems to be written to your specification.
Best regards Daniel
Hi @kalaspuffar, and thanks for checking. I tested now and I can verify that you're right, text seems to work. I think that what happened was there was an entry like <dc:source>urn:isbn:</dc:source>
, which triggered the error. I should have investigated more closely before filing the issue. Will close this now.
2020-1 guidelines:
Current validation error:
I guess the more appropriate rule would be to allow any text except, when the string starts with "urn:isbn:" or "urn:issn:". In these cases, the rule presented above about numerical entries for ISBN/ISSN should apply.