Commit Graph

8 Commits

Author SHA1 Message Date
centic 25b22afebf Add some throttling to the log for failed SAXHelper features to not spam the log on JDK 9 with restricted reflection
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776067 13f79535-47bb-0310-9956-ffa450edef68
2016-12-26 19:51:42 +00:00
centic c44cf6ab38 Sonar issues: Mark two places where we catch Error/Throwable as "On purpose"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1775122 13f79535-47bb-0310-9956-ffa450edef68
2016-12-19 15:25:20 +00:00
Nick Burch 520f4fbf76 #59766 Need to catch Errors as well when trying to tweak SAX stuff
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750408 13f79535-47bb-0310-9956-ffa450edef68
2016-06-27 19:57:33 +00:00
Uwe Schindler 5a933a3496 Add Dominik's suggestion to DocumentBuilderFactories. I also removed the setXIncludeAware(false) in XMLHelper, because it causes the same problem and is disabled by default.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1618644 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 16:01:35 +00:00
Uwe Schindler eabb6a924b More cleanups for bug #56814 and some more external entity leaks of #56164
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1617849 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 22:34:53 +00:00
Uwe Schindler 2f5bcfd162 Fix bug #56814 - Switch from dom4j to JAXP
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1617428 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 07:19:51 +00:00
Nick Burch 236c3c52a9 Apply suggestions from Uwe Schindler for more secure xml defaults for #54764 and #56164, for xml parsers which support them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615720 13f79535-47bb-0310-9956-ffa450edef68
2014-08-04 18:17:26 +00:00
Nick Burch d72bd78c19 Fix bug #56164 - Tidy up the OPC SAX setup code with a new common Helper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1569991 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 23:54:46 +00:00