Am 09.12.2011 um 14:23 schrieb Andy Seaborne: > On 09/12/11 12:43, Thorsten Möller wrote: >> some comments inlined .... >> >> Am 09.12.2011 um 13:20 schrieb Andy Seaborne: >> >>> If we want to upgrade, now would be good time. >>> >>> Xerces: >>> >>> We currently use 2.7.1. (= 2005-07) >>> >>> Proposal: version 2.10.0 >>> >>> June 2010, which is the latest in Maven central. >>> >>> There is a 2.11.0 (Nov 2010) but it's not in maven central (nor >>> Apache). >> >> This issue is tracked, at least [1]. Voting might help in >> accelerating it. Also, someone reported that other repositories >> contain 2.11.0, see very last comment. > > Created 23/Jun/10 :-| > > It's not in the Apache repos either. I thought, and am hoping, that they are > mirrored to repo1/2. But then is has an odd group id as well. > >> >> >>> >>> So 2.11.0 is possibly bug fixes >> >> This [2] explains it in detail. > >> Which brings me to ask/propose the following: >> Would it be possible to check whether the functionality used from >> ICU4J is provided similarly meanwhile by the JDK (or another library >> that is already a dependency)? If possible - if its possible to >> implement it in an alternative way - then this (heavyweight) >> dependency can be removed completely. > > That would be good - could you have a look?
After checking in more detail, I got to a point where most was replaced by built-in JDK classes. However, there are some references left in com.hp.hpl.jena.iri.impl.AbsLexer and one in com.hp.hpl.jena.rdf.arp.impl.CharacterModel which I don't know how to resolve due to lack of Unicode experiences nor enough time resources that I can spend on that. If you want I can create patches and send them to you - unfinished work, though. I also tried to simply comment the remaining references (they all seem to be kind of syntax checks) and run the JUnit tests, but that apparently failed. Thorsten > > It's used in IRI library (AbsIRIImpl, AbsLexer, etc) > com.hp.hpl.jena.rdf.arp.impl.CharacterModel. > > Java6 has much better XML support but and much of ICU4J seems to ended up in > the JDK (e.g. the maths part). The details of NFC encoding, however, may not > have. > > Andy > >> >> Thorsten >> >> [1] https://issues.apache.org/jira/browse/XERCESJ-1454 [2] >> http://xerces.apache.org/xerces2-j/releases.html >> >> >> >> >> >>> >>> Default: leave as is >>> >>> Andy >> >