]> 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)
commit9090741226bb5f87ddf2a634943b7a3654aaa9b0
tree5bf6d537d79caf4f1d7c8fbd541bd101d8a0dadd
parent9f47700711aabb684fa35aec283511a92dabc66d
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]