afs commented on issue #4025: URL: https://github.com/apache/jena/issues/4025#issuecomment-4857781245
@fpotier - when the warning message says "skipped" it means no output. It won't fail but ti won't have all triples, Titanium-java does all the work parsing JSON-LD (thank you @filip26!) Jena isn't part of the [URL validation policy](https://github.com/filip26/titanium-json-ld/blob/main/src/main/java/com/apicatalog/web/uri/UriValidationPolicy.java). If a relative URI were to be returned, they would be resolved against the base Jena gave iniitially, not the `@base`. Jena isn't aware of any base URI set within a JSON-LD document. Jena passes in the initial base setting to Titanium but that's all. After parsing, Jena converts the output from Titanium stream of quads to Jena triples etc. Jena is receiving URIs from Titanium after they have been resolved (any still relative URI would be resolved by Jena but that is not happening here). @filip26 - is there likely to be a 1.7.1 or is it now the 2.x line? I don't think JSON-LD says anything special about %-encoded URIs. The fix looks like it is to change `relative.getPath()` to `relative.getRawPath()`. The complete list is `getRawUserInfo`, `getRawPath`, `getRawQuery`, `getRawFragment`, `getRawAuthority`, and `getRawSchemeSpecificPart`. -- 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]
