W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > January 2013

RE: Okapi Tikal Bug?

From: Yves Savourel <ysavourel@enlaso.com>
Date: Fri, 18 Jan 2013 12:08:00 -0700
To: <public-multilingualweb-lt@w3.org>
Message-ID: <assp.0730fed7e8.assp.0730b9f606.009f01cdf5af$22842560$678c7020$@com>
Hi Philip,

I'm getting:

<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its">
<file original="translate9xml.xml" source-language="en" target-language="fr" datatype="xml" okp:inputEncoding="UTF-8">
<trans-unit id="1">
<source xml:lang="en">Create a folder</source>
<target xml:lang="fr">Create a folder</target>

Without error when I try -x on translate9xml.xml with Tikal.
Which seems to be correct.


From: Philip [mailto:Philip.Oduffy@ul.ie] 
Sent: Friday, January 18, 2013 10:25 AM
To: public-multilingualweb-lt@w3.org
Subject: Okapi Tikal Bug?

Hey All,
   The Okapi Tikal program I'm try to validate seems to have have a bug when run against the Translate9xml.xml

  <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> 
    <its:param name="LCID">409</its:param> 
    <its:translateRule selector="/doc" translate="no"/> 
    <its:translateRule selector="//msg[@lcid=$LCID]" translate="yes"/> 
  <msg lcid="409" num="1">Create a folder</msg> 
  <msg lcid="411" num="1">フォルダーを作成する</msg> 
  <msg lcid="407" num="1">Erstellen Sie einen Ordner</msg> 
  <msg lcid="40c" num="1">Créer un dossier</msg> 

Okapi Error output:
Input: /var/www/converter/uploads/1c3927f182/testinput9xml.xml

ERROR: resolveVariable for variable LCID returning null

We think the bug arises because Tikal can't escape/populate the $LCID variable correctly. Does anyone know who we should notify from Okapi?
Received on Friday, 18 January 2013 19:08:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:00 UTC