Deugging some broken SpreadsheetML using pivotTables

Maury Markowitz 1 Reputation point
2022-10-05T14:33:06.35+00:00

We have a small library that builds SpreadsheetML documents without the use of the Office related libraries (originally to allow porting). I have been trying to add PivotTable/PivotCache support without luck, all of my attempts result in Excel reporting Unreadable Content and failing to fix it, and thus reporting nothing useful.

To try to debug this, I'm decompressing the file from my library and using an XML diff to compare it to one I created manually in Excel. This is not turning up anything very interesting, and the differences I do find do not seem to be important (attributes out of order, ID's being in a different order, etc.)

I am wondering if there are any tools that may provide more information on the actual problems that might help be debug these sorts of issues? Something that tries to load the file "like excel does" and reports the actual issues? Is there perhaps some way to get more detail within Excel?

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
139 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.