Andreas Beeker
687194fd91
removed HorribleProxy
...
added current version of BouncyCastle and xmlsec (using xmlsec instead of jdk internal classes, because of interoperabiltiy with e.g. IBM JDK)
heaps of changes because of above
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1620230 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 23:06:05 +00:00
Andreas Beeker
d0cc2e4267
removed HorribleProxy
...
added current version of BouncyCastle and xmlsec (using xmlsec instead of jdk internal classes, because of interoperabiltiy with e.g. IBM JDK)
heaps of changes because of above
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1620229 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 23:05:26 +00:00
Nick Burch
5b6cf95326
Fix indents / whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1619712 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 09:01:36 +00:00
Nick Burch
0911a5670a
Include the maximum number of Cell Styles in the spreadsheet versions class
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1619710 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 08:59:25 +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
Dominik Stadler
36314b3995
* Allow to start tests with old Xerces jar-file to trigger issues we saw with missing methods in this XML parser. This is only active if the location of the jar-file is provided via ant property "-Dadditionaljar=lib/xercesImpl-2.6.1.jar"
...
* Also remove dom4j from downloaded libs to fully get rid of it in build-environments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1618610 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 13:59:01 +00:00
Andreas Beeker
80d92c25bb
added public key for kiwiwings (Andreas Beeker)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1618525 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 22:22:16 +00:00
Andreas Beeker
6673edd41b
ignore .xsd - should be downloaded by build.xml or provided in the source tree
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1618519 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 20:11:26 +00:00
Andreas Beeker
8962fa8310
starting tsp tests / removed mockito stuff again
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618515 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 19:53:34 +00:00
Andreas Beeker
ba8bd191b7
merge to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618405 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:36:35 +00:00
Andreas Beeker
d80884f9b9
merge to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618404 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:31:17 +00:00
Andreas Beeker
58b11677cb
- Updated to BC 1.51
...
- Download BC/test-libs in build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618403 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:21:31 +00:00
Andreas Beeker
ec7fde8fcb
replace xmlbeans.factory.parse with selectPath calls
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618292 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 23:10:07 +00:00
Andreas Beeker
1b2f321ae9
migrated enveloped document test (1 of 2)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618288 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 22:20:30 +00:00
Andreas Beeker
777fd47d71
some changes because of test errors
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618254 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 18:19:28 +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
Andreas Beeker
55ee990238
sync test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617627 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 23:39:18 +00:00
Andreas Beeker
c378d75e51
sync merge to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617624 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 23:33:07 +00:00
Uwe Schindler
cd80405811
Add some extra safety test to check that external entities are not loaded by xmlbeans
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1617453 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 11:33:02 +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
Andreas Beeker
6bbe12277f
Tests/fixes for hash > sha1
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617180 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 23:34:13 +00:00
Andreas Beeker
7d445b6693
download xades files and remove from them resources
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617153 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 20:37:44 +00:00
Andreas Beeker
63f8c1dcf0
Xml signature support - version 1
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617141 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 18:25:10 +00:00
Andreas Beeker
9f7b23bb42
XML signature support
...
(https://issues.apache.org/bugzilla/show_bug.cgi?id=56836 )
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617139 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 18:04:47 +00:00
Uwe Schindler
8388de4ec2
Add myself to keys file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1617116 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 15:05:30 +00:00
Nick Burch
5aebae40d4
Correct xmlbeans 2.6 url
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615893 13f79535-47bb-0310-9956-ffa450edef68
2014-08-05 08:53:15 +00:00
Nick Burch
89fd75ff0a
Fix bug #56812 - In XSLF provide a way to get the URI of externally linked pictures
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615812 13f79535-47bb-0310-9956-ffa450edef68
2014-08-04 22:00:47 +00:00
Nick Burch
e0f22fd7cf
Add a disabled unit test for bug #56812 , based on code and file from Geoff Wright
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615803 13f79535-47bb-0310-9956-ffa450edef68
2014-08-04 21:34:51 +00:00
Nick Burch
b350d5c5ed
Before parsing an OOXML document, reset the xmlbeans sax parser to avoid the risk of getting one in an error state (due to XMLBEANS-512). Should be a minimal extra overhead pending a proper fix. Allows us to finish enabling the unit tests for #54764
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615781 13f79535-47bb-0310-9956-ffa450edef68
2014-08-04 20:42:41 +00:00
Nick Burch
b6c30fae87
Change the default XMLBeans version used for running to be 2.6, leave 2.3 for compiling the schemas (for maximum compatibility)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615780 13f79535-47bb-0310-9956-ffa450edef68
2014-08-04 20:40:45 +00:00
Nick Burch
07771c3d8c
Add another test file for #54764 , and a test that uses it
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615731 13f79535-47bb-0310-9956-ffa450edef68
2014-08-04 19:18:20 +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
Dominik Stadler
c557276cb4
* Ensure that some older versions of third-party libraries are removed when we do the jar-check, we saw some strange and hard-to-find build-errors lately, e.g. CI fails to run JaCoCo because of outdated asm-all-4.jar being still available.
...
* Include new "release-notes" target in jenkins-target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615453 13f79535-47bb-0310-9956-ffa450edef68
2014-08-03 21:30:30 +00:00
Andreas Beeker
3cd1cd6e70
Another test for NPOIFS in-place writing support - probably the deletion of an entry causes the problem
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615273 13f79535-47bb-0310-9956-ffa450edef68
2014-08-02 00:51:56 +00:00
Nick Burch
0e44d8da73
Fix bug #56800 - Provide a helpful exception, XLSBUnsupportedException, if XSSFWorkbook is passed a .xlsb file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615118 13f79535-47bb-0310-9956-ffa450edef68
2014-08-01 14:33:17 +00:00
Nick Burch
07e7d23b32
Prep for 3.11 beta 1
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614958 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 18:57:23 +00:00
Nick Burch
06fa83bda7
Prep for 3.11 beta 1
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614956 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 18:54:22 +00:00
Nick Burch
afa2322295
Fix bug #55196 - Correct XWPF createTOC handling of short style names
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614930 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 16:11:35 +00:00
Nick Burch
2ee05730bd
Fix bug #55050 - If the start+end row and cell are the same on an AreaPtg, avoid inverting the relative flag
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614928 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 16:06:43 +00:00
Nick Burch
da61e7dd32
Fix bug 54725 - HWPF where no parent style CHP exists, use an empty
...
set when processing the style to avoid a NPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614926 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 15:41:58 +00:00
Nick Burch
4bfe3c6784
Fix bug #56502 - When shifting XSSF rows with formula cells, if the formula can't be parsed, log + leave it unchanged rather than failing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614916 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 15:07:27 +00:00
Nick Burch
5f5d8f496e
Fix bug #56527 - Avoid NPE from XSSFHyperLink when setting the cell
...
it references on a new link
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614914 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 14:55:04 +00:00
Nick Burch
de0d2a0935
Fix javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614886 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 13:37:33 +00:00
Nick Burch
65e23c7ea9
Fix bug #53984 - Support the ColInfoRecord coming after the cells, rather than before as is normal, and also handle things so that if an unsupported BofRecord is found for a sheet, warn and skip rather than breaking
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614884 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 13:31:01 +00:00
Nick Burch
f16296111b
Correct logic for the start-of-sheet missing rows, for event user model, and add tests for this
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614789 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 23:06:46 +00:00
Nick Burch
bf860eccf1
Generics fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614788 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 23:05:58 +00:00
Nick Burch
bdb9bbccc1
Start on details tests for bug #53433
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614786 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 22:43:31 +00:00
Nick Burch
78c4a8168a
Unit test to show that bug #53494 has already been fixed
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614741 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 19:02:09 +00:00
Nick Burch
64187356aa
#56132 Allow XSSF formula evaluation to also skip missing external workbook references, if requested
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614729 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 18:08:28 +00:00
Nick Burch
fd68083ea0
Slightly modified test file for bug #56132 - xlsx file with inline references to other files (no external links used)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614728 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 18:07:14 +00:00