Hello Marcel,
YAML supports references, so you can refer to another character’s
properties.
Example:
repertoire:
char:
-
name_alias:
- [NUL,abbreviation]
- ["NULL",control]
cp:
na1: "NULL"
props: &
age: "1.1"
na: ""
JSN: ""
gc: Cc
ccc: 0
On 31/08/18 08:25 Marius Spix via Unicode wrote:
>
> A good compromise between human readability, machine processability and
> filesize would be using YAML.
>
> Unlike JSON, YAML supports comments, anchors and references, multiple
> documents in a file and several other features.
Thanks for advi
To handle the UCD XML file a streaming parser like Expat is necessary.
For codepoints.net I use that data to stuff everything in a MySQL
database. If anyone is interested, the code for that is Open Source:
https://github.com/Codepoints/unicode2mysql/
The example for handling the large XML file c
A good compromise between human readability, machine processability and
filesize would be using YAML.
Unlike JSON, YAML supports comments, anchors and references, multiple
documents in a file and several other features.
Regards,
Marius Spix
On Fri, 31 Aug 2018 06:58:37 +0200 (CEST) Marcel Schn
On 30/08/18 23:34 Philippe Verdy via Unicode wrote:
>
> Welel an alternative to XML is JSON which is more compact and faster/simpler
> to process;
Thanks for pointing the problem and the solution alike. Indeed the main
drawback of the XML
format of UCD is that it results in an “insane” filesize
5 matches
Mail list logo