NULL Schema when testing against standard XSD types with no grammar

If the WADL does not have a  <grammar>  section and a standard xsd type is used:

xsd:string, xsd:int, xsd:long ...etc.

Then a null pointer exception will occur.   Somewhere around the line this used to work, but looks like there's been a regression.  Need tests!