Closed kjetilk closed 5 years ago
I think this is fine, but am not sure about merging it without support in any of the implemented serializers.
Yeah, I can see that, but I feel it is nice to show there is support for it in the API. I guess the API has to come before actual implementation anyway.
When rereading the Design Issue on relative URIs, I realized that we have the same problem as Jena, even for the abbrieviating serializer, as it will end up putting a
@base
in the file.Then, I figured, it should be easy to solve at the API level, just not print the
@base
if URIs have been made relative to them. So, even thought we haven't got any serializers that do this now, having a boolean attribute for it makes sense, so that's what this patch adds.