[Ltru] Re: Test suite for language tags?

Stephane Bortzmeyer <bortzmeyer@nic.fr> Wed, 30 August 2006 10:58 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1GINmb-0001KV-Gw; Wed, 30 Aug 2006 06:58:57 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1GINma-0001Ht-37 for ltru@lists.ietf.org; Wed, 30 Aug 2006 06:58:56 -0400
Received: from stsc1260-eth-s1-s1p1-vip.va.neustar.com ([156.154.16.129] helo=chiedprmail1.ietf.org) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GIMSF-0001Kt-47 for ltru@lists.ietf.org; Wed, 30 Aug 2006 05:33:51 -0400
Received: from mx2.nic.fr ([192.134.4.11]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1GIMOg-0008OW-EF for ltru@lists.ietf.org; Wed, 30 Aug 2006 05:30:11 -0400
Received: from localhost (localhost.localdomain [127.0.0.1]) by mx2.nic.fr (Postfix) with ESMTP id 6751326C10D; Wed, 30 Aug 2006 11:30:03 +0200 (CEST)
Received: from relay2.nic.fr (relay2.nic.fr [192.134.4.163]) by mx2.nic.fr (Postfix) with ESMTP id 0ADC726C158; Wed, 30 Aug 2006 11:30:00 +0200 (CEST)
Received: from bortzmeyer.nic.fr (batilda.nic.fr [192.134.4.69]) by relay2.nic.fr (Postfix) with ESMTP id D84D658ED51; Wed, 30 Aug 2006 11:30:00 +0200 (CEST)
Date: Wed, 30 Aug 2006 11:30:00 +0200
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Frank Ellermann <nobody@xyzzy.claranet.de>
Message-ID: <20060830093000.GA31895@nic.fr>
References: <20060801203351.GA8854@sources.org> <44CFC23A.2000703@yahoo-inc.com> <20060802072709.GA17404@nic.fr> <44D21ACD.4040707@yahoo-inc.com> <20060804165720.GA24037@sources.org> <44D4AC42.79E0@xyzzy.claranet.de>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="tKW2IUtsqtDRztdT"
Content-Disposition: inline
In-Reply-To: <44D4AC42.79E0@xyzzy.claranet.de>
X-Operating-System: Debian GNU/Linux 3.1
X-Kernel: Linux 2.6.8-2-686 i686
Organization: NIC France
X-URL: http://www.nic.fr/
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by amavisd-new at mx2.nic.fr
X-Spam-Score: -2.5 (--)
X-Scan-Signature: a7d2e37451f7f22841e3b6f40c67db0f
Cc: ltru@lists.ietf.org
Subject: [Ltru] Re: Test suite for language tags?
X-BeenThere: ltru@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Language Tag Registry Update working group discussion list <ltru.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/ltru>
List-Post: <mailto:ltru@ietf.org>
List-Help: <mailto:ltru-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=subscribe>
Errors-To: ltru-bounces@ietf.org

On Sat, Aug 05, 2006 at 04:33:38PM +0200,
 Frank Ellermann <nobody@xyzzy.claranet.de> wrote 
 a message of 18 lines which said:

> > The best thing would probably to create four text files
> > containing tags, one per line (may be with comments allowed),
> > with:
>  
> > * two files for well-formedness (OK/broken),
> > * two files for validaty (OK/invalid).
>  
> > So anyone could use it as a test suite, by converting the
> > text files to Junit, PyUnit, HUnit, whatever.
> 
> Maybe it's possible to publish this in a 3066ter appendix,
> or better a separate document (informational RFC).  I often
> miss examples and test cases in other documents.

I agree and here are the two files I currently use (my parser succeeds
for all these tags). I suggest that they should be displayed in a
public place (is there a Web site for LTRU?) and added in a future
RFC.

Corrections and additions are of course very welcome, as well as test
reports from other implementations, so we can be sure we all use the
same language :-)
_______________________________________________
Ltru mailing list
Ltru@ietf.org
https://www1.ietf.org/mailman/listinfo/ltru