W3C home > Mailing lists > Public > public-linked-json@w3.org > August 2018

Why is the value of @version a number?

From: Lutz Helm <helm@ub.uni-leipzig.de>
Date: Fri, 17 Aug 2018 15:52:40 +0200
To: public-linked-json@w3.org
Message-ID: <1284597e-8668-557e-fbf3-0adf04f4e2b2@ub.uni-leipzig.de>

I just stumbled upon the fact that @version has to be a number in 
json-ld 1.1 contexts. Is there any reason why this is not a string?
I guess it shouldn't ever happen that a spec is released as patch 
version, and there will probably not be more than eight more versions 
with nonbreaking changes to the spec, so a decimal number might suffice, 
but I'm still a little bit puzzled.

Best regards,

Lutz Helm
Bereich Digitale Dienste
AG Anwendungsentwicklung

Universit├Ątsbibliothek Leipzig
Beethovenstra├če 6, 04107 Leipzig

T: +49 341 97 30566

Received on Friday, 17 August 2018 18:35:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:52 UTC