Skip to content

Conversation

@0101
Copy link
Contributor

@0101 0101 commented Nov 14, 2022

Fixes #13817

There seems to be no good way to escape ' in XPath other than wrap the string with ".

For sake of simplicity and since it didn't work before anyway, I propose to not look up the docs when you have a value with both ' and " in its name (which would be a pretty strange thing to have).

@0101 0101 requested a review from a team as a code owner November 14, 2022 16:13
T-Gro
T-Gro previously approved these changes Nov 14, 2022
Copy link
Contributor

@psfinaki psfinaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any testing possible here?

@0101 0101 self-assigned this Nov 15, 2022
@0101
Copy link
Contributor Author

0101 commented Nov 15, 2022

@psfinaki there should be... actually wonder if this is covered by any tests right now. I will find out.

@0101 0101 marked this pull request as draft November 15, 2022 13:13
@0101 0101 marked this pull request as ready for review November 21, 2022 12:53
@0101
Copy link
Contributor Author

0101 commented Nov 21, 2022

@psfinaki Don't think this was tested directly (although plenty indirectly), so I added a test.

@0101
Copy link
Contributor Author

0101 commented Nov 21, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@T-Gro T-Gro merged commit 50d13b6 into dotnet:main Nov 22, 2022
@psfinaki
Copy link
Contributor

@0101 too late to approve - but thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Single quote in function name in external library means xmldoc lookup fails

5 participants