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

Kenneth William Krugler commented on TIKA-3235:
-----------------------------------------------

I took a quick look at the XMLReaderUtils.java code. I'm not much of a fan of 
static class variables, they seem to often lead to problems, but I didn't see 
anything that looked like an obvious problem.

I'm curious though why we wouldn't implement this via a "SAX parser provider" 
class that's part of the Tika context, where you could provide a caching 
implementation or something very simple.

> Build failure caused by timeouts in XMLReaderUtils
> --------------------------------------------------
>
>                 Key: TIKA-3235
>                 URL: https://issues.apache.org/jira/browse/TIKA-3235
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Major
>
> [~kkrugler] was not able to build 1.25-rc1 because of timeouts from 
> XMLReaderUtils.  Let's use this issue to figure out what's going wrong.
> {noformat}
> >> org.apache.tika.parser.microsoft.ooxml.OOXMLParserTest.testUnsupportedPowerPoint(OOXMLParserTest.java:341)
> >> Caused by: org.xml.sax.SAXException: Waited more than 5 minutes for a
> >> SAXParser; This could indicate that a parser has not correctly released its
> >> SAXParser. Please report this to the Tika team: dev@tika.apache.org
> >> <mailto:dev@tika.apache.org>
> >>        at
> >> org.apache.tika.parser.microsoft.ooxml.OOXMLParserTest.testUnsupportedPowerPoint(OOXMLParserTest.java:341)
> >> Caused by: org.apache.tika.exception.TikaException: Waited more than 5
> >> minutes for a SAXParser; This could indicate that a parser has not
> >> correctly released its SAXParser. Please report this to the Tika team:
> >> dev@tika.apache.org <mailto:dev@tika.apache.org>
> >>        at
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to