From db32487a23a07dcf62686480aa8642c4795f3787 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 Nov 2011 01:23:22 +0000 Subject: Make all lv2:documentation valid XHTML Basic 1.1. Validate lv2:documentation in lv2specgen (if lxml is available). --- ext/state.lv2/state.ttl | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'ext/state.lv2') diff --git a/ext/state.lv2/state.ttl b/ext/state.lv2/state.ttl index 9d8305e..1d85bd3 100644 --- a/ext/state.lv2/state.ttl +++ b/ext/state.lv2/state.ttl @@ -177,12 +177,13 @@ state:Interface a rdfs:Class ; rdfs:subClassOf lv2:ExtensionData ; lv2:documentation """ -A structure (LV2_State_Interface) which contains functions to be called by the -host to save and restore state. In order to support this extension, the plugin -must return a valid LV2_State_Interface from LV2_Descriptor::extension_data() -when it is called with URI "http://lv2plug.in/ns/ext/state#StateInterface". +

A structure (LV2_State_Interface) which contains functions to be called by +the host to save and restore state. In order to support this extension, the +plugin must return a valid LV2_State_Interface from +LV2_Descriptor::extension_data() when it is called with URI +"http://lv2plug.in/ns/ext/state#StateInterface".

-The plugin data file should describe this like so: +

The plugin data file should describe this like so:

 @prefix state: <http://lv2plug.in/ns/ext/state#> .
 
@@ -210,11 +211,11 @@ state:instanceState
     a rdf:Property ;
     rdfs:range state:InstanceState ;
     lv2:documentation """
-Predicate to relate a plugin instance to an InstanceState. This may be used
+

Predicate to relate a plugin instance to an InstanceState. This may be used wherever the state of a particular plugin instance needs to be represented. Note that the domain of this property is unspecified, since LV2 does not define any RDF class for plugin instance. This predicate may be used wherever it makes -sense to do so, e.g.: +sense to do so, e.g.:

 @prefix eg: <http://example.org/> .
 
@@ -224,7 +225,7 @@ sense to do so, e.g.:
     eg:favourite-number 2
 ] .
 
-Note that this property is provided because it may be useful for hosts, +

Note that this property is provided because it may be useful for hosts, plugins, or extensions that work with instance state, but its use is not -required to support the LV2 State extension. +required to support the LV2 State extension.

""" . -- cgit v1.2.1