Uploaded image for project: 'Apache Any23 (Retired)'
  1. Apache Any23 (Retired)
  2. ANY23-383

JsonParseException: Unexpected character 0x2028

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.3
    • extractors
    • None

    Description

      While skimming the webpage https://america.france.fr/es the following fatal issue reared its head:

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

      caused by the following JSON-LD:

      { 

          "@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\/"]
          }
      
}
      

      Attachments

        Issue Links

          Activity

            People

              hansbrende Hans Brende
              hansbrende Hans Brende
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: