diff options
author | David Robillard <d@drobilla.net> | 2021-03-12 23:36:23 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-15 14:39:11 -0400 |
commit | 8817d4c13380da4e06fe9497c41a251038eaf5d4 (patch) | |
tree | 83d6e2cf22d1662448ca56de4b3af46870eac36d | |
parent | fe222f853820810bc1203aa8507600c1d6e44a68 (diff) | |
download | lv2-8817d4c13380da4e06fe9497c41a251038eaf5d4.tar.xz |
Fix type and range of patch:value
This was obviously wrong. I'm not sure how this happened, probably a
copy/paste mistake.
-rw-r--r-- | lv2/patch/patch.ttl | 4 | ||||
-rw-r--r-- | wscript | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lv2/patch/patch.ttl b/lv2/patch/patch.ttl index 7804009..0fb2012 100644 --- a/lv2/patch/patch.ttl +++ b/lv2/patch/patch.ttl @@ -230,11 +230,9 @@ patch:subject rdfs:comment "The subject this message applies to." . patch:value - a rdf:Property , - owl:DatatypeProperty ; + a rdf:Property ; rdfs:label "value" ; rdfs:domain patch:Set ; - rdfs:range rdf:Property ; rdfs:comment "The value of a property in a patch:Set message." . patch:wildcard @@ -686,6 +686,9 @@ def test_vocabularies(check, specs, files): # Check that all properties are either datatype or object properties for r in sorted(model.triples([None, rdf.type, rdf.Property])): subject = r[0] + if str(subject) == 'http://lv2plug.in/ns/ext/patch#value': + continue # patch:value is just a "promiscuous" rdf:Property + types = list(model.objects(subject, rdf.type)) check(lambda: ((owl.DatatypeProperty in types) or |