" </jaxb:schemaBindings>\n" +
" </xsd:appinfo></xsd:annotation>\n" +
" <xsd:element name='non-negative-integer' type='xsd:nonNegativeInteger'/> \n" +
"</xsd:schema> \n";
SchemaSG jschema = parse(schema, "testNonNegativeIntegerType.xsd");
// simple, atomic, with restriction on minInclusive and minExclusive
TypeSG nni = jschema.getElements()[0].getTypeSG();
assertTrue(!nni.isComplex());
SimpleTypeSG nnis = nni.getSimpleTypeSG();
assertTrue(nnis.isAtomic());
assertTrue(!nnis.isList());
assertTrue(!nnis.isUnion());