AaltoAsia / O-MI

Internet of Things data server implementing Open Messaging Interface and Open Data Format
BSD 4-Clause "Original" or "Old" License
22 stars 13 forks source link

ParkingService agent doesn't understand "sdo" rdf prefix #13

Closed TK009 closed 6 years ago

TK009 commented 6 years ago

It does not understand other than "schema" and "mv" prefix. This should be fixed so it finds the used prefix from the prefix attribute or can find the required elements in some other way.

TK009 commented 6 years ago

This fix includes prefix parsing which requires the prefix format to be <prefix>: <url>[ <prefix>: <url>[...]] for example schema: http://schema.org/

This will be modified in the next version to have less strict prefix parsing, such that it allows the : character be left out.