The class XSSFExportToXml fails when comparing two similiar xPaths. It continous comparing the xPath nodes after the last common node which then leads to a null pointer exception. Example ----------- Given to xPaths: 1. A/B/C/E 2. A/B/D/E Expected behaviour: Iterating up to node B. Testing if C or D appears first in the schema xml. Actual beahviour: It continous comparing node E after node C/D whichs then leads to a NPE. I'm going to provide a patch for this issue.
Created attachment 31141 [details] [PATCH] fixes the mentioned problem including an unit test
Created attachment 31142 [details] [PATCH] fixes the mentioned problem - I had to submit the patch again, because bugzilla didn't detected the file type correctly - Patch includes an unit test which proves the problem
Created attachment 31143 [details] [PATCH] fixes the mentioned problem
Created attachment 31144 [details] [PATCH] fixes the mentioned problem - Renamed the excel test file to match bugzilla number (55923)
This is now also applied to trunk (post 3.10!) via r1564050, thanks again for all the nicely built patches.