[xmlsec] Encryption and namespace

Matthias Jung matthias.jung at xtradyne.com
Mon Mar 22 08:23:10 PST 2004

Oh, I ran into the same problem a week ago, while migrating from libxml 
2.5.11 to libxml 2.6.7.

Decryption of such XML fragments works with xmlsec and libxml2.5.x but 
not with 2.6.x. Something must have changed within the parser 

Unfortunately I got no response on my posting till now.
See: http://mail.gnome.org/archives/xml/2004-March/msg00206.html

If I would know how to set up parser to ignore this namespace problem, I 
could tweak xmlsec.

Regards Matthias

xs04.jmdesp at free.fr wrote:
> Hi,
> I have met a problem in some tests with encryption.
> If the part of the xml document I want to encrypt uses a namespace prefix that's
> only defined outside of this encoded part, there is an error when trying to
> decrypt. During the decrytion process, before being reinserted inside the
> document, the encrypted fragment is parsed outside of the document context, and
> the parsing fails because of the missing namespace definition.
> Did I miss anything obvious that should be done to avoid this problem ?
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec

More information about the xmlsec mailing list