Marco Tenti
2015-02-20 08:01:30 UTC
Hi everyone, i'm loading milions of triple split in hundred file in the
same server very simple, but during the process i get sometime a fail to
read some file with .nt extension. These file are generated with SILK (
http://wifo5-03.informatik.uni-mannheim.de/bizer/silk/)
I get in the specific these error:
InputStream in = Filemanager.get().open("filename");
//1)
model.read(in, "NT");
Console: [line: 1, col: 7 ] Element or attribute do not match QName
production: QName::=(NCName':')?NCName.
*Exception in thread "main" org.apache.jena.riot.RiotException: [line: 1,
col: 7 ] Element or attribute do not match QName production:
QName::=(NCName':')?NCName. *
:
//2)
org.apache.jena.riot.RDFDataMgr.read(model,in,"NT");
*Exception org.apache.jena.atlas.AtlasException:
java.nio.charset.MalformedInputException: Input length = 1*
any idea why jena trhow these exception?
ty in advance. Greetings.
same server very simple, but during the process i get sometime a fail to
read some file with .nt extension. These file are generated with SILK (
http://wifo5-03.informatik.uni-mannheim.de/bizer/silk/)
I get in the specific these error:
InputStream in = Filemanager.get().open("filename");
//1)
model.read(in, "NT");
Console: [line: 1, col: 7 ] Element or attribute do not match QName
production: QName::=(NCName':')?NCName.
*Exception in thread "main" org.apache.jena.riot.RiotException: [line: 1,
col: 7 ] Element or attribute do not match QName production:
QName::=(NCName':')?NCName. *
:
//2)
org.apache.jena.riot.RDFDataMgr.read(model,in,"NT");
*Exception org.apache.jena.atlas.AtlasException:
java.nio.charset.MalformedInputException: Input length = 1*
any idea why jena trhow these exception?
ty in advance. Greetings.