[Devel] error in documentation for presets extension
d at drobilla.net
Sat Jan 14 12:50:32 PST 2012
On Sat, 2012-01-14 at 23:59 +0800, Ricardo Wurmus wrote:
> I think there is an error in the documentation for the presets
> extension. It currently says this:
> Presets may be defined in any bundles, including the plugin's
> bundle, separate third party
> preset bundles, or user-created preset bundles created by hosts.
> The manifest.ttl of a bundle
> containing presets should list the presets like so:
> a pset:Preset ;
> pset:appliesTo eg:myplugin ;
> rdfs:seeAlso <mypreset.ttl> .
> The (possible) error is that it says "pset:appliesTo" instead of
> "lv2:appliesTo". I have tested a snippet
> like this in my plugin, but jalv won't find the preset if it is listed
> like that. Changing "pset:appliesTo" to
> "lv2:appliesTo" while retaining "pset:appliesTo" in the preset's ttl
> file results in jalv discovering the preset.
> Is this expected behaviour or have I really found an error in the documentation?
Both of these predicates exist right now. What to do is not clear.
The ideal situation is for everything to use lv2:appliesTo, redundant
URIs are annoying. Maybe pset:appliesTo should be deprecated...
More information about the Devel