ziodave opened a new issue, #3335:
URL: https://github.com/apache/jena/issues/3335
### Version
5.5.0
### What happened?
The following JSON-LD will raise an exception in Jena, when parsing it:
```
[
{
"@context": "http://schema.org",
"@id": "https://data.example.org/dataset/entity",
"@type": "Thing",
"description": "A value that ends with a colon:"
}
]
```
This is a draft issue, I'll soon provide more details.
### Relevant output and stacktrace
```shell
Will soon provide an updated stacktrace:
... 93 common frames omitted
at
org.apache.jena.riot.writer.JsonLD11Writer.write$(JsonLD11Writer.java:100)
~[jena-arq-4.10.0.jar:4.10.0]
at
org.apache.jena.riot.writer.JsonLD11Writer.writePretty(JsonLD11Writer.java:171)
~[jena-arq-4.10.0.jar:4.10.0]
at com.apicatalog.jsonld.api.CompactionApi.get(CompactionApi.java:172)
~[titanium-json-ld-1.3.2.jar:na]
at
com.apicatalog.jsonld.processor.CompactionProcessor.compact(CompactionProcessor.java:100)
~[titanium-json-ld-1.3.2.jar:na]
at
com.apicatalog.jsonld.processor.ExpansionProcessor.expand(ExpansionProcessor.java:124)
~[titanium-json-ld-1.3.2.jar:na]
at
com.apicatalog.jsonld.expansion.Expansion.compute(Expansion.java:119)
~[titanium-json-ld-1.3.2.jar:na]
at
com.apicatalog.jsonld.expansion.ObjectExpansion.expand(ObjectExpansion.java:102)
~[titanium-json-ld-1.3.2.jar:na]
at
com.apicatalog.jsonld.expansion.ObjectExpansion.initLocalContext(ObjectExpansion.java:200)
~[titanium-json-ld-1.3.2.jar:na]
at
com.apicatalog.jsonld.context.ActiveContextBuilder.create(ActiveContextBuilder.java:457)
~[titanium-json-ld-1.3.2.jar:na]
at
com.apicatalog.jsonld.context.TermDefinitionBuilder.create(TermDefinitionBuilder.java:362)
~[titanium-json-ld-1.3.2.jar:na]
Caused by: com.apicatalog.jsonld.JsonLdError: A local context contains a
term that has an invalid or missing IRI mapping [code=INVALID_IRI_MAPPING].
```
### Are you interested in making a pull request?
Maybe
--
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]