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

Peter Ansell commented on ANY23-302:
------------------------------------

The rover tests were temporarily switched off because Twitter has moved to 
HTML5 and the parser we are using cannot parse it, failing with:

{noformat}
[Fatal Error] :13:117: The element type "meta" must be terminated by the 
matching end-tag "</meta>".
{noformat}

Not sure what could be causing the last two characters to be missing other than 
a missing close call somewhere.

> 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}
> ./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)

Reply via email to