newsAdvanced Gtk+ Sequencer - News: handling LV2 iriref

Latest News
Advanced Gtk+ Sequencer v2.4.x final preparations posted by jkraehemann, Mon 21 Oct 2019 10:25:31 PM UTC - 0 replies
GSequencer WASAPI support as of v2.3.4 posted by jkraehemann, Sun 29 Sep 2019 10:35:09 PM UTC - 0 replies
Advanced Gtk+ Sequencer v2.3.2 released posted by jkraehemann, Tue 10 Sep 2019 07:32:44 AM UTC - 0 replies
Advanced Gtk+ Sequencer v2.3.x - implementing ags_filter_util.c posted by jkraehemann, Sun 18 Aug 2019 10:10:42 AM UTC - 0 replies

handling LV2 iriref

Item posted by Joël Krähemann <jkraehemann> on Wed 13 Feb 2019 10:20:49 AM UTC.

GSequencer does't handle the RDF Turtle iriref correct. At this time, I just lookup some known irirefs using XPath. This causes the application not to detect some supported resources. Like Gtk+-2.0 user interfaces.

This is the XPath currently used:

xpath = .//rdf-pname-ln[text()='uiext:ui']/ancestor::*[self::rdf-verb][1]/following-sibling::*[self::rdf-object-list][1]//rdf-iriref";

I need to change it something like:

xpath = g_strdup_printf(.//rdf-pname-ln[text()='%s:ui']/ancestor::*[self::rdf-verb][1]/following-sibling::*[self::rdf-object-list][1]//rdf-iriref", ui_iriref);

Whereas ui_iriref variable is parsed by prefixed name XML element.

by Joël

No messages in handling LV2 iriref


Back to the top

Powered by Savane 3.5