Unofficial .NET wrapper for expat library, a fast stream-oriented XML parser library written in C.
XmlParser exposes a SAX-like callback model:
OnPrologOnProcessingInstructionOnStartElementOnTextOnCdataOnCommentOnEndElement
XmlParserclass is not thread-safe concurrent interactions with parser may corrupt unmanaged state and cause memory access violations!
-
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..