XmlResolver 6.0.21
dotnet add package XmlResolver --version 6.0.21
NuGet\Install-Package XmlResolver -Version 6.0.21
<PackageReference Include="XmlResolver" Version="6.0.21" />
<PackageVersion Include="XmlResolver" Version="6.0.21" />
<PackageReference Include="XmlResolver" />
paket add XmlResolver --version 6.0.21
#r "nuget: XmlResolver, 6.0.21"
#:package XmlResolver@6.0.21
#addin nuget:?package=XmlResolver&version=6.0.21
#tool nuget:?package=XmlResolver&version=6.0.21
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 | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- IndexRange (>= 1.1.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)
- System.Collections.Immutable (>= 10.0.1)
- System.IO.Packaging (>= 10.0.1)
-
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.21 | 26 | 1/9/2026 |
| 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,810 | 11/18/2024 |
| 2.1.0 | 358,153 | 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 | 232,116 | 6/28/2022 |
| 1.3.0 | 35,106 | 2/17/2022 |
| 1.2.0 | 564 | 2/15/2022 |
| 1.1.0 | 556 | 2/11/2022 |
| 1.0.0 | 962 | 1/27/2022 |
| 0.7.0 | 583 | 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 | 437 | 9/1/2021 |
| 0.0.6 | 419 | 9/1/2021 |
| 0.0.5 | 422 | 8/31/2021 |
| 0.0.4 | 414 | 8/28/2021 |
| 0.0.3 | 443 | 8/26/2021 |
| 0.0.2 | 464 | 8/26/2021 |
| 0.0.1 | 457 | 8/13/2021 |
A catalog-based XML Resolver API for .NET