Skip to Content.
Sympa Menu

shibboleth-dev - RE: can cpp-saml be easily changed to use libxml2

Subject: Shibboleth Developers

List archive

RE: can cpp-saml be easily changed to use libxml2


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: <>
  • Subject: RE: can cpp-saml be easily changed to use libxml2
  • Date: Thu, 4 Oct 2007 13:44:01 -0400
  • Organization: The Ohio State University

> now cpp-saml use xerces for parsing and manipulating XML. Can it be easily
> changed to use libxml2?

I doubt it. Much of the new XML work is handled by macros, but the overall
DOM management model is designed around Xerces' behavior, and last I knew
libxml2 didn't even support DOM directly.

They also differ greatly in string use. Xerces uses 16 bit Unicode and
libxml2 uses UTF-8 externally. That is pervasively exposed in this library
to avoid any unwanted conversions.

On top of that, you'd have to redo the security code with the xmlsec library
that uses libxml2.

> Because in our project, we are using libxml. And we also plan to use some
> functionality from opensaml.

I would say you need to find a SAML library that uses libxml2. XML
encapsulation would have defeated the entire reason for my library. It's a
goal, it's just not my goal.

-- Scott





Archive powered by MHonArc 2.6.16.

Top of Page