[
https://issues.apache.org/jira/browse/ANY23-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Ansell updated ANY23-302:
-------------------------------
Description:
When building and using [~p_ansell]'s version2 branch, I execute the following
{code}
core/target/appassembler/bin/any23 rover -l output.log -o extraction.txt -s
https://esipfed.github.io/stc/UseCases/STCUseCasesAndRequirements.html
{code}
This results in the following invalid JSON output
{code}
{ "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]
{code}
This is not valid, it is missing the following closing tags {code}]}{code}
was:
When building and using [~p_ansell]'s version2 branch, I execute the following
{code}
./bin/any23 rover -l output.log -o extraction.txt -s
https://esipfed.github.io/stc/UseCases/STCUseCasesAndRequirements.html
{code}
This results in the following invalid JSON output
{code}
{ "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]
{code}
This is not valid, it is missing the following closing tags {code}]}{code}
> rover JSON output is not valid
> ------------------------------
>
> Key: ANY23-302
> URL: https://issues.apache.org/jira/browse/ANY23-302
> Project: Apache Any23
> Issue Type: Bug
> Components: core, rover
> Affects Versions: 1.1
> Reporter: Lewis John McGibbney
> Fix For: 2.0
>
>
> When building and using [~p_ansell]'s version2 branch, I execute the following
> {code}
> core/target/appassembler/bin/any23 rover -l output.log -o extraction.txt -s
> https://esipfed.github.io/stc/UseCases/STCUseCasesAndRequirements.html
> {code}
> This results in the following invalid JSON output
> {code}
> { "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]
> {code}
> This is not valid, it is missing the following closing tags {code}]}{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)