Skip to content

stefanspringer1/XercesSwiftExample

Repository files navigation

XercesSwiftExample: using the bindings of Xerces+C++ to Swift

This Swift package is trying to use XercesSwift, using Xerces-C++ as a SAX parser in Swift.

Sadly, this does not function yet, there are errors of the following type:

Undefined symbol: xercesc_3_2::XMLFormatter::formatBuf(char16_t const*, unsigned long, xercesc_3_2::XMLFormatter::EscapeFlags, xercesc_3_2::XMLFormatter::UnRepFlags)

...the reason for this is that the libxerces dynamic library is not referenced or "installed" properly, see XercesSwift for more details.

Note that there is the corresponding Xcode (not Swift Package Manager) project XercesSwiftXcode where this works with the dynamic library integrated into the project (the libxerces-c-3.2.dylib inside that project is for macOS on Intel and it might be necessary to replace it by the one for macOS on ARM from XercesBuild, but you can compile those binaries easily yourself).

Of course, any help is welcome!


Legal notice: Usage of any of the included material is to your own risk.

About

An example that uses XercesSwift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages