<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I don't have a C compiler so I can't try the 
example. I would however be surprised if there are no #10 inserted because it 
happens every time for me. I just tested once more and it is quite clear what 
happens. As soon as I add a node via xmlsec the output from xmlNodeDump is 
altered.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I now tried to build the entire tree in code and no 
#10 is added anywhere, but as soon as I have called xmlSecDSigCtxSign to sign 
the thing the #10 is back. It's not in the nodes I added myself but it's inside 
everything xmlsec has added - and it's corrupting the certificate with the #10 
for every 64 characters! The same thing is by the way happening for the 
signaturevalue.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Hopefulle someone can make sense of 
this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>/Erik</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>