itext-dotnet
itext-dotnet copied to clipboard
Fixed casting exception in XfaForm.GetNodeText()
trafficstars
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.