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 implementation.

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





[EMAIL PROTECTED] 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
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to