mpro7 opened a new issue, #2083: URL: https://github.com/apache/jena/issues/2083
### Version 4.9.0 ### What happened? After upgrading Jena from `v4.8.0` to `v4.9.0` one of tests which process streamed RDF from [valid TTL file](https://github.com/dasch-swiss/dsp-api/blob/main/test_data/project_ontologies/anything-onto.ttl) and write the formatted result to an output stream failed with an error: **sbt.ForkMain$ForkError: org.apache.jena.riot.RiotException: [line: 11, col: 26] Not a valid token for an RDF term: [LBRACE]**. I've noticed that `v4.9.0` introduced new Turtle format, so maybe btw of that change a bug sneaked into the RDF parser code too? ### Relevant output and stacktrace ```shell [line: 11, col: 26] Not a valid token for an RDF term: [LBRACE] org.apache.jena.riot.RiotException: [line: 11, col: 26] Not a valid token for an RDF term: [LBRACE] at org.apache.jena.riot.system.ErrorHandlerFactory$ErrorHandlerStrict.fatal(ErrorHandlerFactory.java:235) at org.apache.jena.riot.system.ParserProfileStd.create(ParserProfileStd.java:310) at org.apache.jena.riot.lang.LangTurtleBase.tokenAsNode(LangTurtleBase.java:577) at org.apache.jena.riot.lang.LangTurtleBase.node(LangTurtleBase.java:410) at org.apache.jena.riot.lang.LangTurtleBase.predicate(LangTurtleBase.java:376) at org.apache.jena.riot.lang.LangTurtleBase.predicateObjectItem(LangTurtleBase.java:350) at org.apache.jena.riot.lang.LangTurtleBase.predicateObjectList(LangTurtleBase.java:333) at org.apache.jena.riot.lang.LangTurtleBase.triples(LangTurtleBase.java:314) at org.apache.jena.riot.lang.LangTurtleBase.triplesSameSubject(LangTurtleBase.java:178) at org.apache.jena.riot.lang.LangTurtle.oneTopLevelElement(LangTurtle.java:46) at org.apache.jena.riot.lang.LangTurtleBase.runParser(LangTurtleBase.java:79) at org.apache.jena.riot.lang.LangBase.parse(LangBase.java:43) at org.apache.jena.riot.RDFParserRegistry$ReaderRIOTLang.read(RDFParserRegistry.java:204) at org.apache.jena.riot.RDFParser.read(RDFParser.java:416) at org.apache.jena.riot.RDFParser.parseNotUri(RDFParser.java:406) at org.apache.jena.riot.RDFParser.parse(RDFParser.java:356) at org.apache.jena.riot.RDFParserBuilder.parse(RDFParserBuilder.java:570) ``` ### Are you interested in making a pull request? None -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
