SchemaSG jschema = parse(schema, "testNonPositiveInteger.xsd");
// simple, atomic, with restriction and maxExclusive and maxInclusive
TypeSG npi = jschema.getElements()[0].getTypeSG();
assertTrue(!npi.isComplex());
SimpleTypeSG npis = npi.getSimpleTypeSG();
assertTrue(npis.isAtomic());
assertTrue(!npis.isList());
assertTrue(!npis.isUnion());
assertEquals(new Long(0), npis.getAtomicType().getFractionDigits());
assertEquals("0", npis.getAtomicType().getMaxInclusive());
assertEquals("1", npis.getAtomicType().getMaxExclusive());
}