OParl / spec

Spezifikation für eine offene Schnittstelle für Ratsinformationssysteme
https://oparl.org
Creative Commons Attribution Share Alike 4.0 International
61 stars 21 forks source link

Inconsistencies between type tables and example code #350

Closed torfsen closed 8 years ago

torfsen commented 8 years ago

There are multiple places in the specification where the information in a type's field table is inconsistent with the corresponding example code:

eFrane commented 8 years ago

It might be valuable to replace the static, non-checked examples by examples from one an existing OParl endpoint. As there are currently Politik bei Uns, Muenchen Transparent, and the OParl Dev-Site reference implementation, I would vote to extract data from the latter one as that is guaranteed to be random and more importantly without any possibility copyright claims or unauthorized reuse.

akuckartz commented 8 years ago

If I understand this correctly than this is a contradiction within the specification.

konstin commented 8 years ago

It is rather a bug as it was only forgotten to update the examples. This will be fixed soon.

konstin commented 8 years ago

Closing in favor of #356.

I've written a script to automatically find all those errors. This will prevent further errors of that kind from happen in the future.

konstin commented 8 years ago

Fixed in 351cd6274b99960b9b22afd3997f90d79b6cd104