<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<font size="2"><font face="Arial">Yes, you are right. I can reproduce
the problem. It seems that xmlsec/libxml do not like <br>
processing instruction on the root node level. If I place the same PI
node anywhere else<br>
in the document it is included in the output. <br>
<br>
Thanks for reporting the problem! I'll investigate the issue tonight.<br>
<br>
Aleksey<br>
</font></font><br>
</body>
</html>