dotnet / dotnet/dotnet-api-docs

XPathException description is incorrect.

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

Description

Exceptions
XPathException
The XPath expression contains a prefix. See XPath Examples.

The above description is incorrect. The XPathException is generated when the XPath expression contains a prefix that is not recognized. The above makes it sound like it will throw anytime there is a prefix in the expression.

---
#### Document Details

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

* ID: baf7ac70-d9fe-d551-7ad2-ec3eee538102
* Version Independent ID: 37aaa991-b4a2-0263-4692-c1704a6ca179
* Content: [XmlNode.SelectNodes Method (System.Xml)](https://docs.microsoft.com/en-us/dotnet/api/system.xml.xmlnode.selectnodes?view=netframework-4.7.2)
* Content Source: [xml/System.Xml/XmlNode.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Xml/XmlNode.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

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.