newsAdvanced Gtk+ Sequencer - News: handling LV2 iriref

Latest News
GSequencer v3.0.4 - new major release arrived posted by jkraehemann, Sun 19 Jan 2020 12:19:27 AM UTC - 0 replies
GSequencer v3.0.0 alpha release posted by jkraehemann, Mon 30 Dec 2019 09:45:27 PM UTC - 0 replies
GSequencer v3.0.0 has got support for libsoup2.4 XMLRPC posted by jkraehemann, Thu 12 Dec 2019 06:28:37 PM UTC - 0 replies
GSequencer v3.0.0 planned release date 2020-05-07 posted by jkraehemann, Wed 20 Nov 2019 08:15:08 AM UTC - 0 replies
Advanced Gtk+ Sequencer v2.4.0 released posted by jkraehemann, Sat 02 Nov 2019 05:15:23 PM UTC - 0 replies
[Submit News]
[92 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.5