if(namespace != null)
{
Iterator i = fSchemas.iterator();
while(i.hasNext())
{
SchemaImpl s = (SchemaImpl)i.next();
if(s.isReferenceable() &&
namespace.equals(s.getNamespaceAsString()) &&
s.getSchemaDefinition() != null)
{
schemas.add(s.getSchemaDefinition());
}
}
}
return schemas;
}