Skip to content

Restore DFDLCatalogResolver.get for backward compatibility - #1779

Merged
olabusayoT merged 1 commit into
apache:mainfrom
olabusayoT:daf-3098-backward-compatibility
Nov 18, 2026
Merged

olabusayoT merged 1 commit into
apache:mainfrom
olabusayoT:daf-3098-backward-compatibility

Conversation

@olabusayoT

Copy link
Copy Markdown
Contributor
  • Add back the DFDLCatalogResolver companion object with a deprecated get method that returns a new DFDLCatalogResolver, which is an XMLEntityResolver, LSResourceResolver, EntityResolver, EntityResolver2 and URIResolver.
  • Return a new instance per call, since the ThreadLocal was removed so user catalog settings are read each time.
  • Document that get does not consult a custom DaffodilEntityResolverProvider and point callers to DaffodilXMLEntityResolver.

DAFFODIL-3098

- Add back the DFDLCatalogResolver companion object with a deprecated get method that returns a new DFDLCatalogResolver, which is an XMLEntityResolver, LSResourceResolver, EntityResolver, EntityResolver2 and URIResolver.
- Return a new instance per call, since the ThreadLocal was removed so user catalog settings are read each time.
- Document that get does not consult a custom DaffodilEntityResolverProvider and point callers to DaffodilXMLEntityResolver.

DAFFODIL-3098

@stevedlawrence stevedlawrence left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@jadams-tresys jadams-tresys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@olabusayoT
olabusayoT merged commit 50f4d82 into apache:main Nov 18, 2026
10 of 11 checks passed
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.

3 participants