<div dir="ltr"><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:10pt;direction:ltr">
<p>Hi,</p>
<p> </p>
<p>I'm using OpenSAML 2.5.1-1. When I construct an assertion, sign it and
validate the signature, it all works. However, if I print the assertion by
marshaling it to Element and then String before I validate the signature, it
causes the signature validation to fail with the following exception:</p>
<p> </p><u><font color="#000080" size="2"><font color="#000080" size="2"></font></font></u><font color="#000080" size="2"><font color="#000080" size="2"></font></font>
<p align="left"><font color="#000080" size="2"><font color="#000080" size="2"><u>org.opensaml.xml.validation.ValidationException</u></font></font></p><font size="2">: Apache xmlsec IdResolver could not resolve the Element for id
reference: abcd</font>
<p align="left"><font size="2"></font> </p>
<p align="left"><font size="2">I check the source code history of the code dated
back two years ago, it's the same. I do believe it worked then otherwise I would
not have checked in. Has anyone seen similar problem? Can someone provide some
pointers and suggestions on this issue?</font></p>
<p align="left"><font size="2"></font> </p>
<p align="left"><font size="2">Thanks in advance.</font></p>
<p align="left"> </p>
<p align="left">Gang<font size="2"></font></p></div><br></div>