"Stephane Mikaty" <[EMAIL PROTECTED]> writes:

> +import gnu.inet.encoding.*;
> +
> +public class IDNATest {
> +
> +    public static void main( String[] args ) throws Exception {
> +        String[] tests = new String[] {
> +            "domain\u3002invalid",
> +            "domain\uFF0Einvalid",
> +            "domain\uFF61invalid",            
> +        };
> +        for ( String test : tests ) {
> +            assert IDNA.toASCII( test ).equals( "domain.invalid" );
> +        }
> +    }
> +
> +}

When I tested this part of the patch (which is now merged with
TestIDNA.java in CVS), I got errors from gcj:

TestIDNA.java:57: error: Invalid declaration.
      for ( String test : tests ) {

I'm not a Java programmer, is your syntax correct here?

/Simon


_______________________________________________
Help-libidn mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-libidn

Reply via email to