]> source.dussan.org Git - poi.git/commit
More helpful exception message if POIFS is given a raw XML file (eg an Office 2003...
authorNick Burch <nick@apache.org>
Wed, 9 Mar 2016 10:57:52 +0000 (10:57 +0000)
committerNick Burch <nick@apache.org>
Wed, 9 Mar 2016 10:57:52 +0000 (10:57 +0000)
commita20e6a38d34973a2977172d5bcdeb447b79397ae
tree5bf6d537d79caf4f1d7c8fbd541bd101d8a0dadd
parent08bfa54296af5e5e01e7effafaf6aa860d20b0d6
More helpful exception message if POIFS is given a raw XML file (eg an Office 2003 XML file), plus tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734215 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/poi/poifs/common/POIFSConstants.java
src/java/org/apache/poi/poifs/storage/HeaderBlock.java
src/testcases/org/apache/poi/poifs/filesystem/AllPOIFSFileSystemTests.java
src/testcases/org/apache/poi/poifs/filesystem/TestOffice2007XMLException.java [deleted file]
src/testcases/org/apache/poi/poifs/filesystem/TestOfficeXMLException.java [new file with mode: 0644]
test-data/spreadsheet/SampleSS.xml [new file with mode: 0644]