summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-04 02:03:48 +0000
committerDavid Robillard <d@drobilla.net>2010-02-04 02:03:48 +0000
commitb8ef9bff8a46a682f68585aad7587bf081e8b7f8 (patch)
treeb212672915c14d91596a09ecfbc4d9d38af07408 /src
parent36dc6bdb6d9b96e2a18acbe6c681a842d1590fb6 (diff)
downloadingen-b8ef9bff8a46a682f68585aad7587bf081e8b7f8.tar.gz
ingen-b8ef9bff8a46a682f68585aad7587bf081e8b7f8.tar.bz2
ingen-b8ef9bff8a46a682f68585aad7587bf081e8b7f8.zip
Use full URIs where necessary (fix lost properties bugs).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2419 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/serialisation/Serialiser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index 331cf9f2..ab08d98b 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -354,10 +354,10 @@ Serialiser::serialise_patch(SharedPtr<Shared::Patch> patch, const Redland::Node&
: class_rdf_node(p->path());
// Ensure lv2:name always exists so Patch is a valid LV2 plugin
- if (p->properties().find("lv2:name") == p->properties().end())
- p->set_property("lv2:name", Atom(p->symbol().c_str()));
+ if (p->properties().find("http://lv2plug.in/ns/lv2core#name") == p->properties().end())
+ p->set_property("http://lv2plug.in/ns/lv2core#name", Atom(p->symbol().c_str()));
- _model->add_statement(patch_id, "lv2:port", port_id);
+ _model->add_statement(patch_id, "http://lv2plug.in/ns/lv2core#port", port_id);
serialise_port_meta(p, port_id);
if (root)
serialise_properties(port_id, &p->meta(), p->properties());
@@ -447,7 +447,7 @@ Serialiser::serialise_port_meta(const Port* port, const Redland::Node& port_id)
_model->add_statement(port_id, "lv2:index",
AtomRDF::atom_to_node(*_model, Atom((int)port->index())));
- if (!port->get_property("lv2:default").is_valid()) {
+ if (!port->get_property("http://lv2plug.in/ns/lv2core#default").is_valid()) {
if (port->is_input()) {
if (port->value().is_valid()) {
_model->add_statement(port_id, "lv2:default",