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] [Created] (ANY23-273) The content of elements must consist of well-formed character data or markup.
Date Fri, 12 Feb 2016 01:24:18 GMT
Lewis John McGibbney created ANY23-273:
------------------------------------------

             Summary: The content of elements must consist of well-formed character data or
markup.
                 Key: ANY23-273
                 URL: https://issues.apache.org/jira/browse/ANY23-273
             Project: Apache Any23
          Issue Type: Bug
          Components: extractors
    Affects Versions: 1.2
            Reporter: Lewis John McGibbney
             Fix For: 1.2


Whilst attempting to address ANY23-131, I tried running the any23.org service over the [example
URL|https://www.otto.de/p/aeg-waschmaschine-lavamat-l14as7-aplusplusplus-7-kg-1400-u-min-508571361/#variationId=504747671-M48]
with the following failure
{code}
<?xml version="1.0" encoding="UTF-8" ?>
<report>
<message>Could not parse input.</message>
<error>
<![CDATA[

------------ BEGIN Exception context ------------
ExtractionContext(urn:x-any23:html-rdfa11:root-extraction-result-id:https://www.otto.de/p/aeg-waschmaschine-lavamat-l14as7-aplusplusplus-7-kg-1400-u-min-508571361/)
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: 4;
columnNumber: 3; The content of elements must consist of well-formed character data or markup.
	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:
4; columnNumber: 3; The content of elements must consist of well-formed character data or
markup.
	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: 4; columnNumber: 3; The content of elements
must consist of well-formed character data or markup.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.semarglproject.source.XmlSource.process(XmlSource.java:48)
	... 35 more
]]>
</error>
<issueReport>

{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message