Giter Site home page Giter Site logo

Comments (9)

mikeebowen avatar mikeebowen commented on May 23, 2024

Hi @dstringvc ,

That is odd. Can you share the file you're using?

from ooxml-validator-vscode.

dstringvc avatar dstringvc commented on May 23, 2024

Here is the most recent file where I got that error. Thanks for looking at it.

thunder-file_11a69750.docx

from ooxml-validator-vscode.

mikeebowen avatar mikeebowen commented on May 23, 2024

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.

dstringvc avatar dstringvc commented on May 23, 2024

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.

mikeebowen avatar mikeebowen commented on May 23, 2024

Does it open correctly in newer versions of Word?

from ooxml-validator-vscode.

dstringvc avatar dstringvc commented on May 23, 2024

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.

dstringvc avatar dstringvc commented on May 23, 2024

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.

mikeebowen avatar mikeebowen commented on May 23, 2024

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.

mikeebowen avatar mikeebowen commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.