Difference between this and your Net CLI #16
-
Hi @mikeebowen I came across another repository you have, for OOXMXL validation Does this and will this repository have the same functionality as this VSCODE extension? I think our needs are primarily to integrate a CLI workflow to do bulk validation of thousands of files, that are submitted to our archive in information packages containing typically 5 years of data from IT systems. The validation information should be output in CSV, JSON or preferably XML. Sorry if I interacted with you on the wrong repository. Let me know where you want my input to be registered. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Asbjoedt , If you want to work on thousands of files then the CLI would be a better fit. The CLI is a wrapper around the Open XML SDK that returns the validation errors as as JSON file and the vscode extension reads that JSON file and presents it in a webview, so all the information available from the extension comes from the CLI. It currently only returns json and then the extension converts it to csv to save a log of the errors. It should be possible to add a flag to return xml instead of json. If you want to make a feature request for that the CLI repo would be the best place to do that. Could you tell me more about how you want to use the CLI? Are you planning on writing a wrapper for it that bulk validates a trove of files and then creates a report about validation errors and strict status? |
Beta Was this translation helpful? Give feedback.
Hi @Asbjoedt ,
If you want to work on thousands of files then the CLI would be a better fit. The CLI is a wrapper around the Open XML SDK that returns the validation errors as as JSON file and the vscode extension reads that JSON file and presents it in a webview, so all the information available from the extension comes from the CLI. It currently only returns json and then the extension converts it to csv to save a log of the errors. It should be possible to add a flag to return xml instead of json. If you want to make a feature request for that the CLI repo would be the best place to do that.
Could you tell me more about how you want to use the CLI? Are you planning on writing a wrapper…