[ 
https://issues.apache.org/jira/browse/ANY23-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hans Brende resolved ANY23-383.
-------------------------------
    Resolution: Fixed

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

Reply via email to