From b8ef9bff8a46a682f68585aad7587bf081e8b7f8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 4 Feb 2010 02:03:48 +0000 Subject: 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 --- src/serialisation/Serialiser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/serialisation') 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 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", -- cgit v1.2.1