xmlresolver / xmlresolvercs

A C# implementation of the XML Resolver
Other
4 stars 3 forks source link

Support the NamespaceResolver interface (plus other API changes) #5

Closed ndw closed 2 years ago

ndw commented 2 years ago

This PR supports the NamespaceResolver interface (the ability to lookup a URI with a specified RDDL nature and purpose).

  1. I added interfaces for the new API.
  2. I renamed the interfaces to have a leading "I" because apparently that's the convention
  3. I discovered a bug in the ParseSample test caused by the general brokenness of the System.Xml.UriResolver API.
  4. I fixed a bug where an invalid cache entry caused the resolver to fail. It now logs the offending file and ignores it.