Comments (9)
Hi @dstringvc ,
That is odd. Can you share the file you're using?
from ooxml-validator-vscode.
Here is the most recent file where I got that error. Thanks for looking at it.
from ooxml-validator-vscode.
Thanks @dstringvc . Can you tell me how this file was created? Was it made with Word or an SDK like the OpenXML SDK or with something else?
from ooxml-validator-vscode.
I generated that file using the NPOI library.
I tried validating the file using some OOXML sample code and it reported no errors. However, when I try to open the file with Word 2007, I get the "file is corrupt and cannot be opened" pop-message from Word.
from ooxml-validator-vscode.
Does it open correctly in newer versions of Word?
from ooxml-validator-vscode.
Based on anecdotal reports from the IT directory, it opens correctly using the Office365 (subscription) desktop version (The only desktop version I have access to is 2007). When opening the document with the Office365 Online version of Word, in "editing" mode, the small table at the top of the document is broken (all data is shown in a single column). However, when I switch to "viewing" mode, the document appears correctly.
from ooxml-validator-vscode.
Here's something odd. I created a new document from scratch using Word 2007 desktop. It contains nothing fancy, just a few paragraphs with simple text. When I tried to validate it, I got the same error as shown in my original post. The file is attached.
bacon_ipsum.docx
from ooxml-validator-vscode.
Thanks for the file. I am able to reproduce it as well. I'll try to debug this and see what is going on this week.
from ooxml-validator-vscode.
I found the bug causing this and created a release to fix it. Update the extension to version 1.5.2 to fix the issue.
Thanks for finding this!
from ooxml-validator-vscode.
Related Issues (10)
- Strict Validation HOT 11
- Having difficulty using validator in VS Code HOT 18
- The error is unhelpful if the .net runtime extension is not installed
- Troubleshooting running HOT 5
- Trouble running the ooxml-validator-vscode HOT 7
- List of possible elements expected is ommited
- Can't open file HOT 6
- Can you add a configuration that specifies the dotnet path HOT 3
- Allow validation of OOXML macro-enabled and add-in files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ooxml-validator-vscode.