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

XmlProvider: Error reading MS Office Custom UI Schema #1419

Open
roboz0r opened this issue Dec 28, 2021 · 1 comment
Open

XmlProvider: Error reading MS Office Custom UI Schema #1419

roboz0r opened this issue Dec 28, 2021 · 1 comment

Comments

@roboz0r
Copy link

roboz0r commented Dec 28, 2021

I have copied the schema from https://docs.microsoft.com/en-us/openspecs/office_standards/ms-customui/5f3e35d6-70d6-47ee-9e11-f5499559f93a into a file and used the following code to access:

[<Literal>]
let RibbonXSDPath = @"C:\Projects\Ribbon CustomUI.xsd"

type RibbonBuilder = XmlProvider<Schema = RibbonXSDPath>

An error is reported in a dialogue box:

dotnet.exe - System Error
A new guard page for the stack cannot be created.

Not sure but I believe this is a stack overflow. Is this a bug or is there any workaround for this?

@giacomociti
Copy link
Contributor

Likely a bug, maybe some circular definition not handled appropriately.
I noticed that the issue disappears when commenting out line 1413

<!-- <xsd:group ref="EG_MenuControlsBase"/> -->

which probably is not a workaround since it removes a piece of the schema

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants