newsAdvanced Gtk+ Sequencer - News: handling LV2 iriref

Latest News
GSequencer v2.1.53 for debian buster posted by jkraehemann, Fri 08 Mar 2019 11:01:12 PM UTC - 0 replies
Get emotional as debian buster is going to be released posted by jkraehemann, Thu 07 Mar 2019 12:46:59 AM UTC - 0 replies
State of GSequencer in debian buster posted by jkraehemann, Sun 03 Mar 2019 07:08:32 PM UTC - 0 replies
handling LV2 iriref posted by jkraehemann, Wed 13 Feb 2019 10:20:49 AM UTC - 0 replies
[Submit News]
[80 news in archive]

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.4