ISAITB/shacl-validator

When validating with URI, please trim input!

Closed this issue · 2 comments

Repost from:
GovDataOfficial/DCAT-AP.de-SHACL-Validation#18

When validating with URI, e.g. https://offenedaten.frankfurt.de/catalog.rdf?fq=name%3Ahauskoordinaten-franfurt
with a space at the end (that may happen when URI is copy&pasted), the validator breaks and gives an error:

Bei der Validierung ist ein Fehler aufgetreten [Illegal character in query at index 79:
https://offenedaten.frankfurt.de/catalog.rdf?fq=name%3Ahauskoordinaten-franfurt ].

Please strip off any whitespaces of the input before processing.

The issue is now fixed and deployed in the online validator.

Issue confirmed as resolved by the original poster.