fernandreu / office-ribbonx-editor

An overhauled fork of the original Custom UI Editor for Microsoft Office, built with WPF
MIT License
513 stars 97 forks source link

XML Validation Error Issue #221

Open mcnd96 opened 1 year ago

mcnd96 commented 1 year ago

When using the validate tool, there is an invalid error when using the OnLoad attribute to invalidate the tool bar and get a reference object to a new instance.

Example:

This is the incorrect error message from the Validate tool: Ln 1, Col 1: Unknown namespace "". Custom UI XML namespace must be "http://schemas.microsoft.com/office/2009/07/customui" You could also add the ability to create the correct call back for this in the Generate Callbacks tool. Microsoft documents it here: https://learn.microsoft.com/en-us/office/vba/api/office.iribbonui