" <xs:attribute name='c' type='xs:int'/>\n" +
"</xs:schema>\n";
InputSource isource = new InputSource(new StringReader(schemaSource));
isource.setSystemId("testAttributes.xsd");
XSSchema schema = pParser.parse(isource);
XSAttributable[] attr = schema.getAttributes();
assertEquals(3, attr.length);
XSAttribute attr1 = (XSAttribute) attr[0];
assertTrue(attr1.isGlobal());
assertEquals(new XsQName((String) null, "a"), attr1.getName());