Comments (5)
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.
Assigning to myself.
from open-xml-sdk.
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.
@EricWhiteDev What's the current status of this? @Themanwithoutaplan are you still seeing this with the latest changes?
from open-xml-sdk.
Since no clear repro is available, I'm closing this. Feel free to reopen with a repro.
from open-xml-sdk.
Related Issues (20)
- How can I get a CheckBox in Excel using OpenXML?
- Charts directory appears under the drawings directory when packaged HOT 2
- Bug with opening corrupted Open XML documents HOT 1
- SpreadsheetDocument Class documentation contains non-existent Close method HOT 3
- Changing underlying excel data sheet does not update other worksheets
- Excel with Comments is not working with Open XML SDK
- Unable to read cells with % symbol
- Upgrading to 3+ can be troublesome for .NET6 projects HOT 3
- .NET Core 8 taking a lot longer to build and publish
- Change SpreadSheetML namespace to SpreadsheetML
- Manual approval required for workflow run 8287853350: Approval for publishing to Nuget.org HOT 2
- Investigate changing extensionlist/extension mechanism naming to more closely match Office use HOT 18
- Bug with Open XML SDK
- SpreadsheetDocument.Dispose() throws System.ObjectDisposedException HOT 2
- [Performance] Reduce ElementFeatureCollection calls HOT 3
- Bug with Open XML SDK HOT 1
- When opening a pptx file, it prompts that there is a problem with the content and needs to be repaired. HOT 1
- Open XML SDK contains too few samples, isn't documented properly on microsoft's site and questions aren't answered on stackoverflow. HOT 28
- Create a New Workbook With LineChart,then I opened it with office Excel,but office excel will repair it ,then my LineChart will disappear HOT 1
- Unable to add shapes in word file
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 open-xml-sdk.