fatty- / daisy-pipeline

Automatically exported from code.google.com/p/daisy-pipeline
0 stars 0 forks source link

Dynamic enumeration of custom datatypes #330

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We want to allow the end-user to use (for instance) their own braille 
translation tables or their own TTS engine, not declared/bundled with the 
default Pipeline 2 distribution.

For the Braille scripts, this is currently done using the "translator" option, 
where you can specify a URL to a translator.

Dynamic enumeration of custom datatypes would allow the user to install custom 
braille tables and custom TTS engines, and they would appear in a dropdown-list 
or multiple-choice list in the UIs.

[1] 
http://code.google.com/p/daisy-pipeline/wiki/ScriptMetadataCleanup#Custom_XSD_Da
ta_Types

Original issue reported on code.google.com by josteinaj@gmail.com on 20 Jun 2013 at 1:59

GoogleCodeExporter commented 9 years ago
A more flexible alternative to XSD data types would be to use Relax NG. Relax 
NG can reference externally-defined datatypes. Typically these are XSD types:

    <data type="integer" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"/>

but you can e.g. also implement your own datatypes in Java if they can't be 
expressed in XML. See 
[http://www.thaiopensource.com/relaxng/pluggable-datatypes.html] and 
[http://www.ibm.com/developerworks/xml/library/x-custyp/].

Original comment by bertfrees on 20 Jun 2013 at 8:19