dotnet / dotnet/dotnet-api-docs

GetElementsByTagName missing namespace parameter

Open
#1,921 0 comments 0 reactions 0 assignees View on GitHub
area-System.Security dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

I think GetElementsByTagName("Signature") in the code samples (several occurrences) should be GetElementsByTagName("Signature", "http://www.w3.org/2000/09/xmldsig#"), else you will get an empty node list.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 53d3e131-2ef7-a2c4-2c61-02355b21fbd2
* Version Independent ID: cb9bd1b0-0303-27da-4a51-e56747b6c542
* Content: [SignedXml Class (System.Security.Cryptography.Xml)](https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.xml.signedxml?view=netframework-4.7.2)
* Content Source: [xml/System.Security.Cryptography.Xml/SignedXml.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Security.Cryptography.Xml/SignedXml.xml)
* Product: **dotnet-api**
* GitHub Login: @mairaw
* Microsoft Alias: **mairaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.