" <xs:attribute name='id' type='xs:ID'/>\n" +
"</xs:schema>\n";
InputSource isource = new InputSource(new StringReader(schemaSpec));
isource.setSystemId("jira46.xsd");
JAXBSchemaReader r = getSchemaReader();
XSParser parser = r.getSGFactory().newXSParser();
parser.setValidating(false);
XSSchema schema = parser.parse(isource);
XSAttribute[] attrs = schema.getAttributes();
assertEquals(1, attrs.length);
XSAttribute idAttr = attrs[0];