Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML Validation Error Issue #221

Open
mcnd96 opened this issue Feb 24, 2023 · 0 comments
Open

XML Validation Error Issue #221

mcnd96 opened this issue Feb 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mcnd96
Copy link

mcnd96 commented Feb 24, 2023

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:
<mso:customUI xmlns:mso="http://schemas.microsoft.com/office/2009/07/customui" onLoad="RibbonLoaded">

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

@mcnd96 mcnd96 added the bug Something isn't working label Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant