Skip to content

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