[
https://issues.apache.org/jira/browse/JENA-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17096712#comment-17096712
]
Andy Seaborne commented on JENA-1892:
-------------------------------------
That seems to be different code:
{{org.getalp.dbnary.JenaIRITest.insertIRIAndDump(JenaIRITest.java:41)}}
The attached {{JenaIRITest}} isn't that long.
(I've also tried resetting the dataset, which close does not, using
{{TDBInternal.expel}})
> Non ASCII chars in URIs leads to StringIndexOutOfBoundException
> ---------------------------------------------------------------
>
> Key: JENA-1892
> URL: https://issues.apache.org/jira/browse/JENA-1892
> Project: Apache Jena
> Issue Type: Bug
> Components: Base, TDB
> Affects Versions: Jena 3.14.0
> Reporter: Gilles Sérasset
> Priority: Major
> Attachments: JenaIRITest.java
>
>
> When a URI uses a non ASCII char, the StrUtils.decodeHex() method will
> incorrectly decode the URI when stored in TDB and eventually throw a
> StringIndexOutOfBoundException.
> In the attached JUnit class is a method which will raise the exception.
> Note that if the dataset is not closed and reopened (forcing TDB to store the
> data on disk and retrieve it), the code works correctly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)