any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ANY23-267) Entire extractions fail due to "The element type 'meta' must be terminated by the matching end-tag </meta>"
Date Wed, 24 Jan 2018 21:02:01 GMT

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

Lewis John McGibbney commented on ANY23-267:
--------------------------------------------

When I execute an extraction, with https://github.com/apache/any23/pull/59, I get the following
[~HansBrende]. There is sitll an issue as outlined below.
{code}
<?xml version="1.0" encoding="UTF-8" ?>
<response>
<extractors>
<extractor>html-mf-xfn</extractor>
<extractor>html-head-meta</extractor>
<extractor>html-head-title</extractor>
</extractors>
<report>
<message/>
<error/>
<issueReport>
<extractorIssues extractor="html-rdfa11">
<issue level="ERROR" row="-1" col="-1">Element type "t.length" must be followed by either
attribute specifications, ">" or "/>".</issue>
</extractorIssues>
</issueReport>
<validationReport>
<errors>
</errors>
<ruleActivations>
</ruleActivations>
<issues>
</issues>
</validationReport>
</report>
<data>
<![CDATA[
# OUTPUT FORMAT: Turtle (mimeTypes=text/turtle, application/x-turtle; ext=ttl)
# BEGIN: ExtractionContext(urn:x-any23:html-head-meta:root-extraction-result-id:https://twitter.com/cygri)
@prefix sindice: <http://vocab.sindice.net/> .

<https://twitter.com/cygri> <http://vocab.sindice.net/any23#swift-page-name> "profile"@en
;
	<http://vocab.sindice.net/any23#swift-page-section> "profile"@en ;
	<http://vocab.sindice.net/any23#msapplication-TileImage> "//abs.twimg.com/favicons/win8-tile-144.png"@en
;
	<http://vocab.sindice.net/any23#msapplication-TileColor> "#00aced"@en ;
	<http://vocab.sindice.net/any23#robots> "NOODP"@en ;
	<http://vocab.sindice.net/any23#description> "The latest Tweets from Richard Cyganiak
(@cygri). Data. Standards. SPARQL. TopQuadrant. Dublin, Ireland"@en .
# BEGIN: ExtractionContext(urn:x-any23:html-head-title:root-extraction-result-id:https://twitter.com/cygri)
@prefix dcterms: <http://purl.org/dc/terms/> .

<https://twitter.com/cygri> dcterms:title "Richard Cyganiak (@cygri) | Twitter" .
# BEGIN: ExtractionContext(urn:x-any23:html-mf-xfn:root-extraction-result-id:https://twitter.com/cygri)
@prefix xfn: <http://microformats.org/wiki/xfn/> .
@prefix rdf: <https://www.w3.org/TR/REC-rdf-syntax#> .
@prefix foaf: <http://xmlns.com/foaf/spec/> .

_:node1c4kvh1kvx1 <http://vocab.sindice.com/xfn#mePage> <https://t.co/HQTkR855Ve>
.

<https://twitter.com/cygri> <http://vocab.sindice.com/xfn#me-hyperlink> <https://t.co/HQTkR855Ve>
.

_:node1c4kvh1kvx1 a <http://xmlns.com/foaf/0.1/Person> ;
	<http://vocab.sindice.com/xfn#mePage> <https://twitter.com/cygri> .
# END: ExtractionContext(urn:x-any23:html-mf-xfn:root-extraction-result-id:https://twitter.com/cygri)
# END: ExtractionContext(urn:x-any23:html-head-title:root-extraction-result-id:https://twitter.com/cygri)
# END: ExtractionContext(urn:x-any23:html-head-meta:root-extraction-result-id:https://twitter.com/cygri)
]]>
</data>
</response>

{code}

> Entire extractions fail due to "The element type 'meta' must be terminated by the matching
end-tag </meta>"
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: ANY23-267
>                 URL: https://issues.apache.org/jira/browse/ANY23-267
>             Project: Apache Any23
>          Issue Type: Sub-task
>          Components: core
>    Affects Versions: 1.1
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Major
>             Fix For: 2.2
>
>
> WebService API call
> http://any23.org/best/twitter.com/cygri
> {code}
> Could not parse input.
> ================================================================
> ------------ BEGIN Exception context ------------
> ExtractionContext(urn:x-any23:html-rdfa11:root-extraction-result-id:https://twitter.com/cygri)
> Errors {
> }
> ------------ END   Exception context ------------
> org.apache.any23.extractor.ExtractionException: Error while parsing RDF document.
> 	at org.apache.any23.extractor.rdf.BaseRDFExtractor.run(BaseRDFExtractor.java:109)
> 	at org.apache.any23.extractor.rdf.BaseRDFExtractor.run(BaseRDFExtractor.java:41)
> 	at org.apache.any23.extractor.SingleDocumentExtraction.runExtractor(SingleDocumentExtraction.java:463)
> 	at org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:255)
> 	at org.apache.any23.Any23.extract(Any23.java:298)
> 	at org.apache.any23.Any23.extract(Any23.java:450)
> 	at org.apache.any23.servlet.WebResponder.runExtraction(WebResponder.java:114)
> 	at org.apache.any23.servlet.Servlet.doGet(Servlet.java:79)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:301)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:74)
> 	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)
> 	at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:794)
> 	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:652)
> 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1575)
> 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1533)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: org.openrdf.rio.RDFParseException: org.xml.sax.SAXParseException; lineNumber:
15; columnNumber: 116; The element type "meta" must be terminated by the matching end-tag
"</meta>".
> 	at org.semarglproject.sesame.rdf.rdfa.SesameRDFaParser.parse(SesameRDFaParser.java:111)
> 	at org.semarglproject.sesame.rdf.rdfa.SesameRDFaParser.parse(SesameRDFaParser.java:95)
> 	at org.apache.any23.extractor.rdf.BaseRDFExtractor.run(BaseRDFExtractor.java:105)
> 	... 29 more
> Caused by: org.semarglproject.rdf.ParseException: org.xml.sax.SAXParseException; lineNumber:
15; columnNumber: 116; The element type "meta" must be terminated by the matching end-tag
"</meta>".
> 	at org.semarglproject.rdf.rdfa.RdfaParser.processException(RdfaParser.java:1130)
> 	at org.semarglproject.source.XmlSource.process(XmlSource.java:50)
> 	at org.semarglproject.source.StreamProcessor.processInternal(StreamProcessor.java:87)
> 	at org.semarglproject.source.BaseStreamProcessor.process(BaseStreamProcessor.java:167)
> 	at org.semarglproject.source.BaseStreamProcessor.process(BaseStreamProcessor.java:154)
> 	at org.semarglproject.sesame.rdf.rdfa.SesameRDFaParser.parse(SesameRDFaParser.java:109)
> 	... 31 more
> Caused by: org.xml.sax.SAXParseException; lineNumber: 15; columnNumber: 116; The element
type "meta" must be terminated by the matching end-tag "</meta>".
> 	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> 	at org.semarglproject.source.XmlSource.process(XmlSource.java:48)
> 	... 35 more
> ================================================================
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message