aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-11-11 18:01:01 -0500
committerDavid Robillard <d@drobilla.net>2015-11-11 18:01:01 -0500
commite3ad15e41cccdd058f9a7fa2086bce5c0237e9fb (patch)
treeb3e6b182ed6374ef1544adec154640d6cf8cd08b /lv2/lv2plug.in
parent295427ca31f17a587d882086b6388dffbb373422 (diff)
downloadlv2-e3ad15e41cccdd058f9a7fa2086bce5c0237e9fb.tar.xz
Simplify range of lv2:designation
The previous range was not incorrect, but suggests inferring the type of objects by the property range. In LV2 (and sord_validate), we take a stricter stance, and use range to check that object types are explicitly of a valid type, so aggregate ranges are problematic. Since lv2:Designation is an rdfs:subClassOf rdf:Property anyway, it's easier to just set the range to rdf:Property.
Diffstat (limited to 'lv2/lv2plug.in')
-rw-r--r--lv2/lv2plug.in/ns/lv2core/lv2core.ttl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lv2/lv2plug.in/ns/lv2core/lv2core.ttl b/lv2/lv2plug.in/ns/lv2core/lv2core.ttl
index 7434aa0..36a07ec 100644
--- a/lv2/lv2plug.in/ns/lv2core/lv2core.ttl
+++ b/lv2/lv2plug.in/ns/lv2core/lv2core.ttl
@@ -516,8 +516,7 @@ lv2:designation
a rdf:Property ,
owl:ObjectProperty ,
owl:FunctionalProperty ;
- rdfs:range lv2:Designation ,
- rdf:Property ;
+ rdfs:range rdf:Property ;
rdfs:label "designation" ;
lv2:documentation """
<p>Indicates a channel or parameter designation.</p>