-
Notifications
You must be signed in to change notification settings - Fork 365
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
Could not find schema warning #1096
Comments
If Visual Studio is using the schemas, you should see them in the properties window for the file in the Schemas property. If you click the "..." button to the right of the property value it will list all schemas. |
@EWSoftware I see a few dozen schemas in the Properties window, but I'm not sure how this would help. The warning comes from the root element: <topic id="95884982-ff04-4b6e-9214-7622491f4679" revisionNumber="1"> What schema do the |
The schemas are installed as part of the extension. You should see entries with a path pointing to C:\Program Files\Microsoft Visual Studio\2022\Community\xml\schemas\SandcastleMAML or something like it. If you open the noted dialog box and click the Use column to sort by those in use, the Sandcastle ones should be listed first: As noted, they are part of the package so I don't know why they wouldn't be there for you. |
I figured it out. They're not warnings or errors just informational messages. The topic element and the ID and revisionNumber attributes aren't part of the formal MAML schema so that's why they show up. |
Ah, I see. Thanks for the info. So should these be defined is a custom namespace to make the error list clean? |
I could probably add them to the schemas though I think this is the first time anyone's ever brought it up as an issue. |
I am using Visual Studio 2022 Professional (latest version) and I just upgraded SHFB to the latest version. After adding a conceptual content topic file (using the standard Add menu and selecting the Conceptual topic from the list), I get the "Could not find schema information for" the element/attribute warnings:
When installing SHFB, I went over all options to set up VS extension, install schemas, etc., and I did not see any errors or warnings, but just in case I reinstalled it and it all looks good:
So, not sure, what I may be missing.
The text was updated successfully, but these errors were encountered: