InputSource isource = new InputSource(new StringReader(schemaSource));
isource.setSystemId("testJAXBProperty1.xsd");
JAXBSchema schema = (JAXBSchema) parser.parse(isource);
XSAttributable[] outerAttr = schema.getAttributes();
assertEquals(1, outerAttr.length);
JAXBAttribute outerA = (JAXBAttribute) outerAttr[0];
XSType ct = schema.getType(new XsQName((String) null, "ct"));
XSAttributable[] attributes = assertComplexType(ct).getAttributes();
assertNotNull(attributes);
assertEquals(1, attributes.length);
JAXBAttribute a1 = (JAXBAttribute) attributes[0];
assertEquals(XSDateTime.getInstance(), a1.getType());
JAXBProperty ap1 = a1.getJAXBProperty();
assertEquals(ap1, outerA.getJAXBProperty());
assertNotNull(ap1);
assertEquals("ap", ap1.getName());
assertEquals("indexed", ap1.getCollectionType());
Boolean b = ap1.isFixedAttributeAsConstantProperty();