Skip to content

nathan130200/Expat.Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expat.Net

Unofficial .NET wrapper for expat library, a fast stream-oriented XML parser library written in C.

XmlParser API Model

XmlParser exposes a SAX-like callback model:

  • OnProlog
  • OnProcessingInstruction
  • OnStartTag
  • OnEndTag
  • OnText
  • OnCdata
  • OnComment

Native Library Resolution Priority

  1. Look for EXPAT_LIBRARY_PATH environment var (absolute path to expat library with file name and its extension, eg: C:\vcpkg\installed\x64-windows\bin\libexpat.dll).

  2. Find common expat name and extensions for each platform.

  3. Fallbak to default .NET library loader.

Notes

  • 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).

About

Unofficial .NET bindings for libexpat library.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages