Adding a simple check to confirm the element types are what we expect.

This could go much further, but for now, it's a reasonable confirmation
that the XmlSchemaPathFinder did what it was supposed to do.