Malformed XML NF reference element Version 4.0

Asked

Viewed 178 times

0

I am updating our service notes sending program (Sorocaba). Doing a quick survey I saw some comments that after updating the . Net Framework, microsoft performed a fix on the Signatures vulnerabilities and some special characters could not be used. However, when trying to sign I’m getting an error " malformed reference element" I removed the "2 points ':'" from the hall tag and passed, but the city requires the TAG signed in the format below, with the 2 points lot:. The code is:

  // Create a reference to be signed
                            Reference reference = new Reference();
                            reference.Uri = "#lote1ABCDZ";

would like to know how could proceed in this case, where the city requires something that can no longer be used by Microsoft or a solution to this.

1 answer

0


To solve just pass the blank ID.

By default the URI in Reference comes NULL just pass string. Empty and everything is fine.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.