Unofficial .NET wrapper for expat library, a fast stream-oriented XML parser library written in C.
XmlParser exposes a SAX-like callback model:
OnPrologOnProcessingInstructionOnStartTagOnEndTagOnTextOnCdataOnComment
-
Look for
EXPAT_LIBRARY_PATHenvironment var (absolute path to expat library with file name and its extension, eg:C:\vcpkg\installed\x64-windows\bin\libexpat.dll). -
Find common expat name and extensions for each platform.
-
Fallbak to default .NET library loader.
-
There is an explicit intention to keep this project aligned with the latest official libexpat releases.
-
This library implement native library resolver to attempt load almost all possible combinations of expat library names (libexpat, expat) and file extensions (
.dll,.so,.so.1,.dylib).