XmlResolver 6.0.20
dotnet add package XmlResolver --version 6.0.20
NuGet\Install-Package XmlResolver -Version 6.0.20
<PackageReference Include="XmlResolver" Version="6.0.20" />
<PackageVersion Include="XmlResolver" Version="6.0.20" />
<PackageReference Include="XmlResolver" />
paket add XmlResolver --version 6.0.20
#r "nuget: XmlResolver, 6.0.20"
#:package XmlResolver@6.0.20
#addin nuget:?package=XmlResolver&version=6.0.20
#tool nuget:?package=XmlResolver&version=6.0.20
README
A C# implementation of the XML Resolver.
This package implements an OASIS catalog-based XML resource resolver.
See The XML Resolver Project for more details.
APIs
This API implements System.Xml.XmlResolver.
The resolver can read catalogs from the local filesystem, from ZIP files, or from assemblies bundled with your application.
Change Log
Version 6.x is a significant refactoring and is not backwards compatible with version 2.x. (The underlying functionality is the same, but the API is different.) The version 2.x sources are now in the legacy_v2 branch. Important bug fixes will be applied to the 2.x release for some time, but new development is focused on the 6.x release.
Three main considerations drove the refactoring:
- Correcting design errors, mostly attempting to make the whole thing more C#-like.
The classes are now
XmlResolver.XmlResolver…and notOrg.XmlResolver…. - Simplification of the design (removing the caching feature, for example)
- Bringing the Java and C# implementations into better alignment.
What’s changed?(tl;dr)
Where previously you would have instantiated an
Org.Xmlresolver.Resolver and used it as the entity resolver for System.Xml.XmlResolver
you should now instantiate an XmlResolver.XmlResolver. This new object has methods for
performing catalog lookup and resource resolution. It also has a method that
returns the System.Xml.XmlResolver resolver API:
XmlResolver.XmlResolver.getXmlResolver()
Behind the scenes, the API has been reworked so that most operations
consist of constructing a request for some resource, asking the XmlResolver to either
(just) look it up in the catalog or resolve it, and returning a response.
This release fixes a bug in how assembly catalogs are located, updates
the release to use .NET 8, and replaces the now deprecated WebClient
API with the System.Net.Http URI.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Microsoft.Extensions.Configuration (>= 10.0.1)
- Microsoft.Extensions.Configuration.Json (>= 10.0.1)
- Microsoft.Extensions.Configuration.Xml (>= 10.0.1)
- NLog (>= 6.0.7)
- NuGet.Frameworks (>= 7.0.1)
- System.IO.Packaging (>= 10.0.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on XmlResolver:
| Package | Downloads |
|---|---|
|
SaxonCS
SaxonCS is a high-performance XSLT 3.0 processor. It conforms with the latest W3C specifications (notably XSLT 3.0, XQuery 3.1, and XPath 3.1). |
|
|
SaxonCS-b6
SaxonCS is a high-performance XSLT 3.0 processor. It conforms with the latest W3C specifications (notably XSLT 3.0, XQuery 3.1, and XPath 3.1). |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.0.20 | 55 | 12/31/2025 |
| 6.0.3 | 350 | 11/18/2024 |
| 6.0.2 | 391 | 2/1/2024 |
| 6.0.0 | 202 | 1/30/2024 |
| 2.1.1 | 11,709 | 11/18/2024 |
| 2.1.0 | 356,832 | 2/2/2023 |
| 2.0.0 | 412 | 1/25/2023 |
| 1.5.1 | 555 | 8/18/2022 |
| 1.5.0 | 512 | 8/10/2022 |
| 1.4.0 | 231,720 | 6/28/2022 |
| 1.3.0 | 35,083 | 2/17/2022 |
| 1.2.0 | 564 | 2/15/2022 |
| 1.1.0 | 555 | 2/11/2022 |
| 1.0.0 | 961 | 1/27/2022 |
| 0.7.0 | 582 | 1/25/2022 |
| 0.6.1 | 556 | 1/21/2022 |
| 0.6.0 | 553 | 1/20/2022 |
| 0.5.5 | 573 | 1/12/2022 |
| 0.5.3 | 403 | 12/21/2021 |
| 0.5.2 | 399 | 12/17/2021 |
| 0.5.1 | 413 | 12/16/2021 |
| 0.5.0 | 493 | 12/9/2021 |
| 0.4.1 | 413 | 12/8/2021 |
| 0.4.0 | 404 | 12/6/2021 |
| 0.3.0 | 1,012 | 12/3/2021 |
| 0.2.1 | 422 | 12/2/2021 |
| 0.2.0 | 393 | 12/2/2021 |
| 0.1.0 | 436 | 9/1/2021 |
| 0.0.6 | 418 | 9/1/2021 |
| 0.0.5 | 421 | 8/31/2021 |
| 0.0.4 | 414 | 8/28/2021 |
| 0.0.3 | 441 | 8/26/2021 |
| 0.0.2 | 463 | 8/26/2021 |
| 0.0.1 | 457 | 8/13/2021 |
A catalog-based XML Resolver API for .NET