rorlic commented on issue #2217: URL: https://github.com/apache/jena/issues/2217#issuecomment-1930709573
Hi, thank you for looking into this. The reason it does not work for you in a browser is indeed CORS. If you use chrome you can fix this by installing a chrome extension which allows you to [control CORS](https://chromewebstore.google.com/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf?pli=1). However, it does work in the JSON-LD playground (which uses a javascript library called jsonld.js). The result for both examples in triples is: ``` <http://example.com/document-id> <http://www.w3.org/2000/01/rdf-schema#label> "Just a simple document" . ``` Interesting enough, I see the same _incorrect_ behaviour if I try it using [EasyRDF Converter](https://www.easyrdf.org/converter) (which uses its own PHP implementation for JSON-LD parsing). Browsing through their unit tests I do not see a test using a remote context, so they most likely also suffer from a similar problem. So, how do you suggest we proceed given that it is most likely a Titanium issue? -- 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]
