Closed peterdesmet closed 8 years ago
It's not a DCAT issue, it's an issue with the serialization format: turtle.
Indeed, when a new line is given, the turtle specification says there are 2 ways to handle newlines: change them with a \n
, or you can use triple double quotes. Two identical triples:
@prefix : <http://example.org/stuff/1.0/> .
:a :b "The first line\nThe second line\n more" .
:a :b """The first line
The second line
more""" .
Why the validator doesn't complain is because the library for turtle we use is probably forgiving, whilst the Flemish open data portal is more strict.
A quick fix is to implement one of the options above when handling a string value when serialising to turtle.
Thanks @pietercolpaert!
Issue will be tackled here https://github.com/gbif/ipt/issues/1231. Closing this one.
Hi @pietercolpaert, is a line break in
<dct:description>
valid in DCAT (see example below)? The DCAT validator does not complain, but it apparently blocks importing in the VODP.