We are validating message which have several embedded xades (BES) messages embedded. Which previously have been vaildated as valid. (Also the signature is embedded.)
<Messsage1>
<OtherTags>
...Change location A...
</OtherTags>
<PreDocument>
<Messsage2>
<OtherTags>
...Change location B...
</OtherTags>
<PreDocument>
<Messsage3>
<OtherTags>
...Change location C...
</OtherTags>
<Signature>
...
</Signature>
</Messsage3>
</PreDocument>
<Signature>
...
</Signature>
</Messsage2>
</PreDocument>
<Signature>
...
</Signature>
</Messsage1>
At the moment only changes made at "Change location C" will invalidate the message. Changes at "Change location A" and "Change location B" wont effect the validity of the message and even entire structures can be removed.
Is that the expected behaviour? Is it possible the change the behaviour? (So that every change will invalidate the message)