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

Add namespace generator to SDK #1092

Merged
merged 3 commits into from
Dec 14, 2021
Merged

Conversation

twsouthwick
Copy link
Member

This adds a source generator that takes a set of namespaces and the associated version it appeared in and generates methods that augments OpenXmlNamespaceResolver to understand these versions.

An additional class is also added to handle backwards compatibility usage of namespace ids, but doesn't add any new namespace ids for future ids. This is added purely to retain any support needed for users that may have stored the id instead of the prefix.

@tomjebo
Copy link
Collaborator

tomjebo commented Dec 14, 2021

ok, yeah, looks like I need this. merging...

@tomjebo tomjebo merged commit 1238452 into dotnet:main Dec 14, 2021
@twsouthwick twsouthwick deleted the namespace-generator branch December 15, 2021 02:01
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

Successfully merging this pull request may close these issues.

2 participants