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

rover JSON output is not valid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 2.0
    • core, rover
    • None

    Description

      When building and using p_ansell's version2 branch, I execute the following

      core/target/appassembler/bin/any23 rover -l output.log -o extraction.txt -s https://esipfed.github.io/stc/UseCases/STCUseCasesAndRequirements.html
      

      This results in the following invalid JSON output

      { "quads" : [[{ "type" : "uri", "value" : "https://esipfed.github.io/stc/UseCases/STCUseCasesAndRequirements.html"}, "http://vocab.sindice.net/any23#viewport", {"type" : "literal", "value" : "width=device-width,initial-scale=1", "lang" : "en", "datatype" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"}, null], [{ "type" : "uri", "value" : "https://esipfed.github.io/stc/UseCases/STCUseCasesAndRequirements.html"}, "http://vocab.sindice.net/any23#Content-Type", {"type" : "literal", "value" : "text/html; charset=UTF-8", "lang" : "en", "datatype" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"}, null], [{ "type" : "uri", "value" : "https://esipfed.github.io/stc/UseCases/STCUseCasesAndRequirements.html"}, "http://purl.org/dc/terms/title", {"type" : "literal", "value" : "Semantic Technologies Group Semantic Repository Implementation (SRI) Use Cases & Requirements (UCR)", "lang" : null, "datatype" : "http://www.w3.org/2001/XMLSchema#string"}, null], [{ "type" : "uri", "value" : "https://esipfed.github.io/stc/UseCases/STCUseCasesAndRequirements.html"}, "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", { "type" : "uri", "value" : "http://purl.org/ontology/bibo/Document"}, null], [{ "type" : "uri", "value" : "https://esipfed.github.io/stc/UseCases/STCUseCasesAndRequirements.html"}, "http://purl.org/dc/terms/language", {"type" : "literal", "value" : "en", "lang" : null, "datatype" : "http://www.w3.org/2001/XMLSchema#string"}, null]
      

      This is not valid, it is missing the following closing tags

      ]}

      Attachments

        Activity

          People

            ansell Peter Ansell
            lewismc Lewis John McGibbney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: