Page 1 of 1

Export in LTM format may produce non-conformant files

PostPosted: Tue Feb 17, 2009 2:30 am
by m_ueberall
Hi,

I followed the Wikipedia extractor example (storing the contents in a newly created layer) and exported the resulting topic map in LTM format.

Apparently, the created file is not conformant to the current LTM spec:

1. The encoding (UTF-8) given in line 1 has to be enclosed in quotes (@STRING --> "utf-8"), cf. http://www.ontopia.net/download/ltm.html#N841
(When trying to import the file using the current 'OKS samplers' distribution v4.0.5, the parser seems to expect the encoding to be specified using lower case though this should work according to http://www.isi.edu/in-notes/iana/assign ... acter-sets (seems to be an OKS problem--reported separately))

2. Nesting of [[ ... ]] is not allowed, cf. http://www.ontopia.net/download/ltm.htm ... ormal-spec
The nested double square brackets in question are part of the wiki markup (page source which is stored using an occurrence); they should be escaped accordingly, cf. http://www.ontopia.net/download/ltm.html#N695

Ad astra, Markus

PostPosted: Tue Feb 17, 2009 12:12 pm
by akivela
Hello Markus

Thank you for this valuable report. We'll fix these bugs to the next Wandora release. I expect next release is ready in March.

Kind Regards,
Aki Kivela
Wandora Team