Q
Problem solve Get help with specific problems with your technologies, process and projects.

What could cause a type mismatch error in an XML file with no child nodes?

In a XML file, even if a node doesn't have child nodes, VB satisfies the condition of having child nodes and later give an error 'Type Mismatch'. What could be causing this?
I'm not a VB user but one possibility is that "no nodes" is actually an empty list structure of some sort. If you are comparing this against, say and integer value of 0, you would get a 'Type Mismatch' error.
This was last published in January 2004

Dig Deeper on Development implications of microservices architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide.com

SearchWinDevelopment

DevOpsAgenda

Close