aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-10 22:49:47 +0100
committerDavid Robillard <d@drobilla.net>2019-12-12 12:57:07 +0100
commitcd2f398de8a80618a8f548cd67806c074e7a45e9 (patch)
treea9b8c390296d03b88883dd7dd1828e5c0ace8d2e
parent721dffcd9b9c6d9df9e30b6f510f3aed5c0ac965 (diff)
downloadjalv-cd2f398de8a80618a8f548cd67806c074e7a45e9.tar.gz
jalv-cd2f398de8a80618a8f548cd67806c074e7a45e9.tar.bz2
jalv-cd2f398de8a80618a8f548cd67806c074e7a45e9.zip
Define more namespace prefixes for pretty printing
-rw-r--r--src/jalv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jalv.c b/src/jalv.c
index 84bdc69..baff562 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -771,8 +771,11 @@ jalv_open(Jalv* const jalv, int* argc, char*** argv)
jalv->env = serd_env_new(NULL);
serd_env_set_prefix_from_strings(jalv->env, "patch", LV2_PATCH_PREFIX);
- serd_env_set_prefix_from_strings(jalv->env, "time", LV2_TIME_PREFIX);
serd_env_set_prefix_from_strings(jalv->env, "xsd", NS_XSD);
+ serd_env_set_prefix_from_strings(jalv->env, "rdf", NS_RDF);
+ serd_env_set_prefix_from_strings(jalv->env, "time", LV2_TIME_PREFIX);
+ serd_env_set_prefix_from_strings(jalv->env, "lv2", LV2_CORE_PREFIX);
+ serd_env_set_prefix_from_strings(jalv->env, "atom", LV2_ATOM_PREFIX);
SerdWorld* serd_world = serd_world_new(); // FIXME
jalv->sratom = sratom_streamer_new(serd_world, &jalv->map, &jalv->unmap);