[LV2] [PATCH 2/5] add missing datatype range RDF to atom-child
David Robillard
d at drobilla.net
Sun Dec 15 13:24:33 PST 2013
On Mon, 2013-12-09 at 20:41 +0100, Robin Gareus wrote:
> Signed-off-by: Robin Gareus <robin at gareus.org>
> ---
> lv2/lv2plug.in/ns/ext/atom/atom.ttl | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lv2/lv2plug.in/ns/ext/atom/atom.ttl b/lv2/lv2plug.in/ns/ext/atom/atom.ttl
> index c222ebf..f6f9201 100644
> --- a/lv2/lv2plug.in/ns/ext/atom/atom.ttl
> +++ b/lv2/lv2plug.in/ns/ext/atom/atom.ttl
> @@ -555,6 +555,7 @@ atom:childType
> atom:supports
> a rdf:Property ;
> rdfs:label "supports" ;
> + rdfs:range rdfs:Datatype ;
> lv2:documentation """
> <p>Indicates that a particular Atom type is supported.</p>
This causes a bunch of validation "errors" if applied.
error: Object not in property range:
b1214
http://lv2plug.in/ns/ext/atom#supports
http://lv2plug.in/ns/ext/patch#Message
I'm not sure if this is just sord_validate being weak, a lack of
explicit annotations, or what, but as the docs say this property is
pretty 'loose' so perhaps it's best just left unset. I vaguely recall
issues trying to explicitly annotate this, rdfs:Datatype is a bit weird,
but honestly I forget the details now.
What there a concrete reason you wanted to add this range?
--
dr
More information about the Devel
mailing list