Giter Club home page Giter Club logo

Comments (5)

EricWhiteDev avatar EricWhiteDev commented on May 25, 2024

You are absolutely correct, the Open XML SDK does not properly validate files. It is close, but there are a number of cases where it complains about the existence of valid elements / attributes, and it does not complain about non existence of required elements and attributes. It is close, though, and by far the best tool we have. But it can do more. I expect to address this, along with sample documents and xUnit tests in the somewhat near future.

I expect to take a systematic approach with this, where I have large sets of documents that are saved by specific versions of Word, and the goal is to make the Validator conform.

I am currently working on Office 2016 support, and improving the validation functionality seems like it would be a natural follow-on project.

from open-xml-sdk.

EricWhiteDev avatar EricWhiteDev commented on May 25, 2024

Assigning to myself.

from open-xml-sdk.

EricWhiteDev avatar EricWhiteDev commented on May 25, 2024

Further notes on this -

We have contemplated adding an option to validation, which is to either validate as written by Office, or validate per the spec.

In either case, we're not going to address this until the Office 2016 port is completed.

from open-xml-sdk.

twsouthwick avatar twsouthwick commented on May 25, 2024

@EricWhiteDev What's the current status of this? @Themanwithoutaplan are you still seeing this with the latest changes?

from open-xml-sdk.

twsouthwick avatar twsouthwick commented on May 25, 2024

Since no clear repro is available, I'm closing this. Feel free to reopen with a repro.

from open-xml-sdk.

Related Issues (20)

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.