[LV2] lv2_validate

Amadeus Folego amadeusfolego at gmail.com
Wed Feb 15 09:34:22 PST 2017


Hello David,

I just tested lv2_validate using AUR's lv2-git (1.15.1.r1072.56f064d-1).

I am still seeing the same errors I sent you previously via IRC:

> Literal `1.0' datatype <http://www.w3.org/2001/XMLSchema#decimal> is 
> not compatible with <http://lv2plug.in/ns/ext/atom#Float>
> error: Object not in property range:
>        b342
>        http://lv2plug.in/ns/ext/parameters#gain
>        1.0
> note: Range is <http://lv2plug.in/ns/ext/atom#Float>
> Literal `0.1234' datatype <http://www.w3.org/2001/XMLSchema#decimal> 
> is not compatible with <http://lv2plug.in/ns/ext/atom#Float>
> error: Object not in property range:
>        b574
>        http://lv2plug.in/plugins/eg-params#float
>        0.1234
> note: Range is <http://lv2plug.in/ns/ext/atom#Float>
> Literal `0.0' datatype <http://www.w3.org/2001/XMLSchema#decimal> is 
> not compatible with <http://lv2plug.in/ns/ext/atom#Float>
> error: Object not in property range:
>        b574
>        http://lv2plug.in/plugins/eg-params#lfo
>        0.0
> note: Range is <http://lv2plug.in/ns/ext/atom#Float>
> `0' is not >= <http://www.w3.org/2001/XMLSchema#long> minimum 
> `-9223372036854775808'
> error: Literal does not match datatype:
>        b574
>        http://lv2plug.in/plugins/eg-params#long
>        0
> Literal `0.0' datatype <http://www.w3.org/2001/XMLSchema#decimal> is 
> not compatible with <http://lv2plug.in/ns/ext/atom#Float>
> error: Object not in property range:
>        b574
>        http://lv2plug.in/plugins/eg-params#spring
>        0.0
> note: Range is <http://lv2plug.in/ns/ext/atom#Float>
> http://bado.so/plugins/sine_synth has no 
> <http://usefulinc.com/ns/doap#name> values of type 
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral>
> Found 5 errors among 97 files (checked 1936 restrictions)

Let me know if there's a way to check if there's anything irregular 
with my lv2 installation.

On Wed, Feb 8, 2017 at 6:41 AM, David Robillard <d at drobilla.net> wrote:
> Hi all,
> 
> I’ve fiddled with the data a bit to ensure everything necessary for 
> validating plugins is installed, and added an lv2_validate script to 
> git which allows for easy validation against the installed LV2 spec 
> without having to hunt down all the necessary files to pass to 
> sord_validate.  It’s not the most elegant solution (e.g. it only 
> validates against the things installed by LV2 itself, which are 
> hardcoded, doesn’t do any discovery, is a shell script, etc), but 
> for now I’m hoping it provides a much easier way to validate in the 
> hopes that more developers start doing so.
> 
> It’d be helpful if anyone could take it for a spin and let me know 
> if there are any issues before the next release.
> 
>> dr
> _______________________________________________
> Devel mailing list
> Devel at lists.lv2plug.in
> http://lists.lv2plug.in/listinfo.cgi/devel-lv2plug.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20170215/2c0e40c1/attachment.htm>


More information about the Devel mailing list