[xliff-tools] XLIFF files for testing tools

Yves Savourel ysavourel at translate.com
Fri Sep 2 06:12:59 PDT 2005


Hi Martin,
 
Also, that validator tool page you are using (<http://dotnet.goglobalnow.net/Validation.aspx>) has not been updated in a very long
time (almost 2 years) and was Beta. You should probably not trust it very much (and I'll take it off-line as soon as I find the
time.. which is probably a long time from now :(

Cheers,
-yves

________________________________

From: xliff-tools-bounces at lists.freedesktop.org [mailto:xliff-tools-bounces at lists.freedesktop.org] On Behalf Of Rodolfo M. Raya
Sent: Friday, September 02, 2005 2:09 PM
To: xliff-tools at lists.freedesktop.org
Subject: Re: [xliff-tools] XLIFF files for testing tools


On Fri, 2005-09-02 at 12:37 +0100, Martin Wunderlich wrote:

Hi Martin, 


	I have created an XLIFF file to test tools and for some reason it fails to validate using the utility on
http://dotnet.goglobalnow.net/Validation.aspx. The warning complains about the "origin" attribute in the <alt-trans> element,
although this is clearly valid according to both the XLIFF 1.1 specs and the schema used ("<xsd:attribute name="origin"
type="xsd:string" use="optional"/>"). My file also validates ok using http://apps.gotdotnet.com/xmltools/xsdvalidator/. 
	The alt-trans element looks like this: 
	    <alt-trans>
	     <target xml:lang="de-DE" origin="Martin" phase-name="translation">Hier steht ein wenig übersetzter Text.</target>
	     <target xml:lang="de-AT" origin="TM">Hier steht a bisserl übersetzter Text.</target>
	     <target xml:lang="ru-RU" origin="MT" phase-name="edit">Здесь есть тоже самый текст по-русс
кий.</target>
	    </alt-trans>
	 
	Any ideas? I would presume I can go ahead, assuming that the XLIFF file is valid. 
	


The schema has some minor variations from the specs. All principles are respected in general, but some details like element order
are not specified in the specs but enforced in the schema.

We have modified Heartsome's XLIFF Editor to become fully XLIFF 1.1 enabled. The changes include validating XLIFF documents against
all the schemas that are needed to support XLIFF 1.1. Notice that the files must be validated against xliff-core-1.1.xsd and several
complementary schemas that are imported at parsing time. 

If you send me your file, I'll check it with the new XLIFF Editor and tell you if there is anything wrong.

Regards,
Rodolfo 



More information about the xliff-tools mailing list