RE: Okapi Tikal Bug?

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">
<body>
<trans-unit id="1">
<source xml:lang="en">Create a folder</source>
<target xml:lang="fr">Create a folder</target>
</trans-unit>
</body>
</file>
</xliff>

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

cheers,
-yves


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

Translate9xml.xml:
<doc> 
  <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"/> 
  </its:rules> 
  <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> 
</doc>

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?
Thanks,
Philip

Received on Friday, 18 January 2013 19:08:31 UTC