Export in LTM format may produce non-conformant files

Found a bug in Wandora. Please report it here.

Export in LTM format may produce non-conformant files

Postby m_ueberall » Tue Feb 17, 2009 2:30 am

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
m_ueberall
 
Posts: 1
Joined: Tue Feb 17, 2009 1:59 am
Location: Germany

Postby akivela » Tue Feb 17, 2009 12:12 pm

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
akivela
Site Admin
 
Posts: 260
Joined: Tue Sep 18, 2007 10:20 am
Location: Helsinki, Finland


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest