| GLUE | GLUE is a library of data and utilities to simplify the task of creating transcoder software. It grows out of the Chinese XML Now! project at Academia Sinica Computing Centre, and earlier work on lossless transcoders. GLUE also will allow the trial of new functions required for Chinese documents. |
|---|
| Why GLUE? |
Q. There are many exellent transcoding systems
available, why do we need GLUE? A. Because all the current transcoders are optimised or targeted at particular uses or systems:
Furthermore:
The result is that the current generation of transcoders (in particular, the open source transcoders) are not suitable for someone trying to add a modest level of transcoding in a platform-independent way. A sign of this difficulty is that transcoder support in specialist languages is almost non-existant. |
|---|
| How GLUE? |
The GLUE approach is to put all information relating
to an encoding into a single XML document: names, mapping
tables, multi-byte encoding detection, range-checking,
transformations, and anything else that is needed. These
XML documents can then be transformed into many kinds of
programs and utilities, using XSL, OmniMark, Perl, Python,
Java, JavaScript, Common LISP, or any language in which
DOM has been implemented. In a sense, GLUE represents a very conventional separation of specification from implementation. However, it must be admitted that writing programming language code inside programming languages often produces messy- or ugly-looking code :-) |
|---|
| What GLUE? |
We want to provide:
We want to encourage software systems which
|
|---|
| GLUE Transcoding Specification Library |
The specifications allow the generation of
transcoders both "to" and "from" ISO
10646 unless noted. Basic Transcoder specifications are
available for the following encodings and variants:
Here is the current DTD used. When mapping tables were unavailable on ftp.unicode.org we used:
|
|---|