summaryrefslogtreecommitdiffstats
path: root/content/validating-lv2-data.md
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-21 22:47:56 -0500
committerDavid Robillard <d@drobilla.net>2014-11-21 22:47:56 -0500
commited73356e710d9b20fce8bf98a15c9a63e54bd9d9 (patch)
treef2c03c4b823787f3becb46162690f6bdb396c178 /content/validating-lv2-data.md
parentd38c4094a1aef8be93218adeefe66b20308d96e3 (diff)
downloadlv2site-ed73356e710d9b20fce8bf98a15c9a63e54bd9d9.tar.xz
Organize site explicitly using pages.
Diffstat (limited to 'content/validating-lv2-data.md')
-rw-r--r--content/validating-lv2-data.md36
1 files changed, 0 insertions, 36 deletions
diff --git a/content/validating-lv2-data.md b/content/validating-lv2-data.md
deleted file mode 100644
index 2a48e89..0000000
--- a/content/validating-lv2-data.md
+++ /dev/null
@@ -1,36 +0,0 @@
-Title: Validating LV2 Data
-Date: 2014-11-20 21:33
-Category: Documentation
-
-Because LV2 data written in Turtle does not need to be compiled like C, the
-author must take care to ensure it is valid. For example, if there is a typo
-in a predicate, a plugin may silently fail to work correctly.
-
-To prevent this kind of error, use `sord_validator` from
-[Sord](http://drobilla.net/software/sord). This program will check that all
-the properties in a set of Turtle data are actually defined, that the domain
-and range is valid, and that typed literals are valid (for example, that they
-have the correct type, or that `lv2:symbol` properties are actually valid LV2
-symbols).
-
-To do this, the validator needs to be passed all relevant data, including the
-vocabularies which define the properties and classes used. The LV2
-distribution contains all the external vocabularies used in the `schemas`
-directory. If `sord_validate` is installed, and an LV2 source tree is present,
-then LV2 data can be checked like so:
-
- :::sh
- sord_validate $(find /path/to/lv2-x.y.z -name '*.ttl') /path/to/data.ttl
-
-To check all data in your bundle:
-
- :::sh
- sord_validate $(find /path/to/lv2-x.y.z -name '*.ttl') $(find /path/to/bundle.lv2 -name '*.ttl')
-
-For those unfamiliar with UNIX basics, the `find` command finds all files
-matching a pattern, and putting a command in `$()` on a command line
-substitutes the output of that command in place. So, these commands simply
-expand to `sord_validate` being called with a list of files as arguments.
-
-Developers SHOULD include targets in their build scripts for running the
-validator to ensure plugin data is correct before distribution.