Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH1537: Refactor XmlPeek alias to use XPathNavigator #1701

Merged
merged 1 commit into from
Aug 3, 2017

Conversation

kcamp
Copy link
Contributor

@kcamp kcamp commented Jul 26, 2017

This is the revised XmlPeek alias to address the issues described in GH1537.
The PR is drafted from the code sample provided in the original issue nearly 1:1 with a couple of small optimizations; from reflecting the XmlDocument and XPathNavigator source, it appears that the extra null checks are extraneous. I can revise accordingly if that's understood to be incorrect or otherwise desirable.

Overall, I added the test coverage given the existing sample content and also included the sample document as provided for posterity/regression.

@gep13
Copy link
Member

gep13 commented Jul 26, 2017

Relates to #1537

@gep13 gep13 changed the title (GH-1537) - Refactor XmlPeek alias to use XPathNavigator GH1537: Refactor XmlPeek alias to use XPathNavigator Jul 26, 2017
@kcamp kcamp force-pushed the GH1537 branch 2 times, most recently from 98f645d to b6b2751 Compare July 31, 2017 12:10
… handle retrieval of element values; add supporting tests
Copy link
Member

@devlead devlead left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@devlead devlead merged commit 21725ac into cake-build:develop Aug 3, 2017
@devlead
Copy link
Member

devlead commented Aug 3, 2017

@kcamp your changes have been merged, thanks for your contribution 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants