On 21/03/12 12:01, Paolo Castagna wrote:
Paolo Castagna wrote:
Sam contributed this test case:
https://github.com/castagna/jena-examples/blob/master/src/main/resources/data/single-bad-triple.nt
https://github.com/castagna/jena-examples/blob/master/src/main/java/dev/Run3.java
Looking at this, right now.

Getting closer... do we have a bug here?

Test case is here:
https://github.com/castagna/jena-examples/blob/master/src/main/java/dev/TestTDBUnicode.java

This is the data (i.e. a single triple with the Unicode character \uDAE0
in a literal value):<s>  <p>  "Hello \uDAE0 World" .

You need

    private static final String str_literal = "Hello \\uDAE0 World";

else it is a Java \u


Using

Dataset dataset = TDBFactory.createDataset ( ) ;

is way easier for testing.

        Andy

Reply via email to