Check the definition as some xs:element nodes will not have inline type defintions and instead will use the @ref attribute.
Merge pull request #160 from nigelgbanks/ISLANDORA-1048

Check the definition as some xs:element nodes will not have inline type ...