[
https://issues.apache.org/jira/browse/ANY23-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16569226#comment-16569226
]
Hudson commented on ANY23-383:
------------------------------
SUCCESS: Integrated in Jenkins build Any23-trunk #1611 (See
[https://builds.apache.org/job/Any23-trunk/1611/])
ANY23-383 allow all unicode space characters in JSON-LD (hans: rev
0df8cdba68fea0c6dcf819759627759c7597f0cb)
* (edit) mime/pom.xml
* (edit) pom.xml
* (edit) core/pom.xml
* (edit) core/src/main/java/org/apache/any23/extractor/rdf/BaseRDFExtractor.java
* (edit) cli/pom.xml
* (edit)
core/src/test/java/org/apache/any23/extractor/rdf/JSONLDExtractorTest.java
* (edit) encoding/pom.xml
* (edit)
core/src/test/java/org/apache/any23/extractor/html/EmbeddedJSONLDExtractorTest.java
* (add) test-resources/src/test/resources/html/html-jsonld-bad-character.html
> JsonParseException: Unexpected character 0x2028
> -----------------------------------------------
>
> Key: ANY23-383
> URL: https://issues.apache.org/jira/browse/ANY23-383
> Project: Apache Any23
> Issue Type: Bug
> Components: extractors
> Affects Versions: 2.3
> Reporter: Hans Brende
> Assignee: Hans Brende
> Priority: Major
> Fix For: 2.3
>
>
> While skimming the webpage https://america.france.fr/es the following fatal
> issue reared its head:
> {noformat}
> Unexpected issue for extractor html-embedded-jsonld : [FATAL:
> 'Unexpected character ('
' (code 8232 / 0x2028)): expected a valid value
> (number, String, array, object, 'true', 'false' or 'null')' (1,3)]
> {noformat}
> caused by the following JSON-LD:
> {noformat}
> {
> "@context": "http://schema.org",
>
"@type": "WebSite",
>
"name": "FRANCE.FR",
> "alternateName": "Atout France",
>
"url": "https://www.france.fr",
>
"potentialAction": {
> "@type": "SearchAction",
> "target":
> "https://america.france.fr/es/busqueda?q={search_term_string}",
> "query-input": "required name=q",
> "sameAs":
> ["http:\/\/www.atout-france.fr\/","https:\/\/www.diplomatie.gouv.fr\/es\/","http:\/\/media.atout-france.fr\/","http:\/\/www.meeting.france.fr\/"]
> }
>
}
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)