any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Ansell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ANY23-420) Handle Json+ld extraction failure
Date Wed, 21 Nov 2018 21:30:00 GMT

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

Peter Ansell commented on ANY23-420:
------------------------------------

This seems to be similar to this previous issue in JSONLD-Java: https://github.com/jsonld-java/jsonld-java/issues/187

I am passively maintaining JSONLD-Java currently, accepting patches and doing releases, but
not actively writing patches myself. If anyone wants to narrow down the issue and write a
patch for it that would be appreciated.

This particular case doesn't seem to be what JSON-LD is designed for, and schema.org may be
at fault here for suggesting that it is possible/allowed.

> 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)

Mime
View raw message