[
https://issues.apache.org/jira/browse/ANY23-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16695189#comment-16695189
]
Hans Brende commented on ANY23-420:
-----------------------------------
Note: full stack trace appears as follows:
java.lang.IllegalArgumentException: Illegal character in path at index 7:
Sample, Category, Link
at java.net.URI.create(URI.java:852)
at java.net.URI.resolve(URI.java:1036)
at com.github.jsonldjava.utils.JsonLdUrl.resolve(JsonLdUrl.java:274)
at com.github.jsonldjava.core.Context.expandIri(Context.java:539)
at com.github.jsonldjava.core.Context.expandValue(Context.java:1099)
at com.github.jsonldjava.core.JsonLdApi.expand(JsonLdApi.java:1007)
at com.github.jsonldjava.core.JsonLdApi.expand(JsonLdApi.java:847)
at com.github.jsonldjava.core.JsonLdApi.expand(JsonLdApi.java:1025)
at
com.github.jsonldjava.core.JsonLdProcessor.expand(JsonLdProcessor.java:146)
at
com.github.jsonldjava.core.JsonLdProcessor.toRDF(JsonLdProcessor.java:503)
at org.eclipse.rdf4j.rio.jsonld.JSONLDParser.parse(JSONLDParser.java:71)
at
org.apache.any23.extractor.rdf.BaseRDFExtractor.run(BaseRDFExtractor.java:226)
> Handle Json+ld extraction failure
> ---------------------------------
>
> Key: ANY23-420
> URL: https://issues.apache.org/jira/browse/ANY23-420
> Project: Apache Any23
> Issue Type: Bug
> Components: core
> Affects Versions: 2.3
> Reporter: dhirajforyou
> Priority: Major
> Labels: json-ld
>
>
> Added a property "applicationCategory" to json-ld bock and any23 extractor
> failed.
> file referred:
> test/resources/html/html-embedded-jsonld-extractor-multiple.html
> Extra block added:
> <script type="application/ld+json">
> {
> "applicationCategory": "Sample, Category, Link",
> "@context": "http://schema.org",
> "@type": "SoftwareApplication",
> "name": "Android Data",
> "datePublished": "November 18, 2018"
> }
> </script>
>
> [applicationCategory|https://schema.org/applicationCategory] accepts text and
> url, but for the above test of "text" , getting error as :
> Apache Any23 FAILURE
> Execution terminated with errors: Illegal character in path at index 7:
> Sample, Category, Link
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)