bbcarchdev / spindle

RES Linked Open Data aggregation engine
https://bbcarchdev.github.io/spindle/
Apache License 2.0
2 stars 1 forks source link

URI Template remove colon in rdfs:Class -> rdfsClass #36

Closed ajtucker closed 9 years ago

ajtucker commented 9 years ago

Using the value of the osd:template in a URI Template (RFC6570) parser lib shows a syntax issue. The colon (:) is reserved for declaring the maximum length of a template substitute value, see https://tools.ietf.org/html/rfc6570#section-2.4.1

nevali commented 9 years ago

I don't believe OpenSearch templates are intended to conform to RFC6570.

Colon-delimited form is explicitly defined in the OSD spec as an namespacing/extension mechanism:

http://www.opensearch.org/Specifications/OpenSearch/1.1#OpenSearch_URL_template_syntax

ajtucker commented 9 years ago

I guess OS pre-dates URI templates. Shame. Another parser to write.