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

ASF GitHub Bot commented on ANY23-383:
--------------------------------------

GitHub user HansBrende opened a pull request:

    https://github.com/apache/any23/pull/114

    ANY23-383 allow all unicode space chars in JSON-LD

    mvn clean test -> all tests passed

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/HansBrende/any23 ANY23-383

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/any23/pull/114.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #114
    
----
commit 0df8cdba68fea0c6dcf819759627759c7597f0cb
Author: Hans <firedrake93@...>
Date:   2018-08-04T05:47:16Z

    ANY23-383 allow all unicode space characters in JSON-LD

----


> 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