incubator-jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damian Steer (Commented) (JIRA)" <>
Subject [jira] [Commented] (JENA-177) If possible remove dependency to ICU4J by using Java built-in functionality
Date Mon, 02 Jan 2012 20:26:30 GMT


Damian Steer commented on JENA-177:

Thorsten: yep, it seems to be just plain wrong in this case. The USE...RULES bit is a post-check
to ensure the encoded name is a well behaved dns name. It seems that IDN is doing this check
too early, before it's finished the encoding (the answers without that check are correct)
which is bizarre.

I've written a little wrapper that performs the check itself. 8 failures -> 2 failures!

Andy: ah, that is a good clue for the other failures. If you try decoding:

IDN and ICU4J don't throw and exception but return this value (i.e. no decoding occurs).
ICU4J 3.4.4 however does throw an error.

Tempted to simply disable those tests, although they are, ominously, generated from and xml
file somehow.
> If possible remove dependency to ICU4J by using Java built-in functionality
> ---------------------------------------------------------------------------
>                 Key: JENA-177
>                 URL:
>             Project: Jena
>          Issue Type: Wish
>          Components: IRI, Jena
>            Reporter: Thorsten Möller
>            Priority: Minor
>         Attachments: IRI-icu4j.patch, IRI.patch, jena-icu4j.patch, jena2.patch
>   Original Estimate: 0h
>  Remaining Estimate: 0h
> Jena-core and IRI currently depend on ICU4J for implementing Unicode support. Since ICU4J
is rather heavyweight of which a rather small fraction is used, we should check if there is
a way of implementing the functionality in an alternative way, either by (i) using built-in
(standard) Java classes, (ii) other libraries that are already dependencies, or (iii) in a
completely alternative way. This is also supported by the fact that since relevant parts have
been initially implemented, Unicode support has been considerably extended in Java, see

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message