Skip to content

Conversation

ChadSchouggins
Copy link

@ChadSchouggins ChadSchouggins commented Apr 9, 2021

While iterating through sibling nodes, any XText element would throw
when the attempt was made to cast to XElement. Since NextNode is
declared in XNode anyway, the cast was not necessary to begin with.

This appears to have been introduced in the porting to .NET, the java code does not appear to need an equivalent fix.

While iterating through sibling nodes, any XText element would throw
when the attempt was made to cast to XElement. Since NextNode is
declared in XNode anyway, the cast was not necessaryto begin with.
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.

1 participant