any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ANY23-303) JsonLdError: loading remote context failed: http://schema.org/
Date Mon, 10 Jul 2017 00:21:01 GMT

    [ https://issues.apache.org/jira/browse/ANY23-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079761#comment-16079761
] 

Hudson commented on ANY23-303:
------------------------------

SUCCESS: Integrated in Jenkins build Any23-trunk #1489 (See [https://builds.apache.org/job/Any23-trunk/1489/])
ANY23-303 : Manage jsonld-java to 0.10.0 for schema.org compat (p_ansell: rev 80d4def08786d3a7dbf1bf6ccab78edc04d0dc1f)
* (edit) pom.xml


> JsonLdError: loading remote context failed: http://schema.org/
> --------------------------------------------------------------
>
>                 Key: ANY23-303
>                 URL: https://issues.apache.org/jira/browse/ANY23-303
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: extractors
>    Affects Versions: 2.1
>            Reporter: Matt Snyder
>             Fix For: 2.1
>
>
> For an html page with embedded json-ld, I'm getting JsonLdError: loading remote context
failed: http://schema.org/
> Could it be a manifestation of issue #180 on jsonld-java ?  That issue is marked closed.
> Full traceback:
> {code:java}
> org.apache.any23.extractor.ExtractionException: Error while parsing RDF document.
> 	at org.apache.any23.extractor.rdf.BaseRDFExtractor.run(BaseRDFExtractor.java:109)
> 	at org.apache.any23.extractor.html.EmbeddedJSONLDExtractor.extractJSONLDScript(EmbeddedJSONLDExtractor.java:149)
> 	at org.apache.any23.extractor.html.EmbeddedJSONLDExtractor.run(EmbeddedJSONLDExtractor.java:82)
> 	at org.apache.any23.extractor.html.EmbeddedJSONLDExtractor.run(EmbeddedJSONLDExtractor.java:53)
> 	at org.apache.any23.extractor.SingleDocumentExtraction.runExtractor(SingleDocumentExtraction.java:475)
> 	at org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:256)
> 	at org.apache.any23.Any23.extract(Any23.java:300)
> 	at org.apache.any23.Any23.extract(Any23.java:452)
> 	at org.apache.any23.cli.Rover.performExtraction(Rover.java:178)
> 	at org.apache.any23.cli.Rover.run(Rover.java:211)
> 	at org.apache.any23.cli.ToolRunner.execute(ToolRunner.java:136)
> 	at org.apache.any23.cli.ToolRunner.main(ToolRunner.java:69)
> Caused by: org.eclipse.rdf4j.rio.RDFParseException: Could not parse JSONLD
> 	at org.eclipse.rdf4j.rio.jsonld.JSONLDParser.parse(JSONLDParser.java:71)
> 	at org.apache.any23.extractor.rdf.BaseRDFExtractor.run(BaseRDFExtractor.java:105)
> 	... 11 more
> Caused by: com.github.jsonldjava.core.JsonLdError: loading remote context failed: http://schema.org/
> 	at com.github.jsonldjava.core.DocumentLoader.loadDocument(DocumentLoader.java:31)
> 	at com.github.jsonldjava.core.Context.parse(Context.java:195)
> 	at com.github.jsonldjava.core.Context.parse(Context.java:142)
> 	at com.github.jsonldjava.core.Context.parse(Context.java:286)
> 	at com.github.jsonldjava.core.JsonLdApi.expand(JsonLdApi.java:543)
> 	at com.github.jsonldjava.core.JsonLdApi.expand(JsonLdApi.java:997)
> 	at com.github.jsonldjava.core.JsonLdProcessor.expand(JsonLdProcessor.java:146)
> 	at com.github.jsonldjava.core.JsonLdProcessor.toRDF(JsonLdProcessor.java:482)
> 	at org.eclipse.rdf4j.rio.jsonld.JSONLDParser.parse(JSONLDParser.java:68)
> 	... 12 more
> {code}
> html snippet:
> {code:html}
> <script type="application/ld+json">
> {
>   "@context": "http://schema.org/",
>   "@type": "Product",
>   "name": "test product"
> }
> </script>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message