Rework public identifier handling #27

Closed
opened 2021-12-20 18:29:23 +01:00 by ndw · 0 comments
ndw commented 2021-12-20 18:29:23 +01:00 (Migrated from github.com)

In #25 we "fixed" the performance impact of attempting to retrieve mangled URIs caused by System.Xml.UriResolver 's broken support for public identifiers. But we did it clumsily. Instead of doing it in GetEntity, we can do it in ResolveUri which is always called first and which provides the public identifier string as a relative URI, not concatenated with a base URI.

In #25 we "fixed" the performance impact of attempting to retrieve mangled URIs caused by `System.Xml.UriResolver` 's broken support for public identifiers. But we did it clumsily. Instead of doing it in `GetEntity`, we can do it in `ResolveUri` which is always called first and which provides the public identifier string as a relative URI, not concatenated with a base URI.
ndw closed this issue 2026-09-05 12:42:25 +02:00
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
XmlResolver/xmlresolvercs#27
No description provided.