You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Julian Reschke <ju...@gmx.de> on 2016/06/13 13:03:35 UTC

Unicode data model for string properties

Hi there,

it seems that changes in JDK8 have affected standard library behavior 
for unpaired surrogate pairs 
(<https://en.wikipedia.org/wiki/UTF-16#U.2BD800_to_U.2BDFFF>).

This breaks a BasicDocumentStoreTest case which I added quite some time 
ago in order to verify that RDBDocumentStore is compatible with 
MongoDocumentStore with respect to this (see 
<https://issues.apache.org/jira/browse/OAK-3683>).

With the JDK8 change however, Mongo will trip over unpaired surrogates, 
and I wonder whether it would be better just to constrain the string 
property model in general -- it would be unfortunate if, for instance, 
TarMK could persist something that DocumentMK won't...

Feedback appreciated, Julian