{
String schemaPackageName = schema.packageName();
if (JBossXmlConstants.DEFAULT.equals(schemaPackageName) == false)
packageName = schemaPackageName;
if(schema.xmlns().length > 0)
{
for(int i = 0; i < schema.xmlns().length; ++i)
{
schemaBinding.addPrefixMapping(schema.xmlns()[i].prefix(), schema.xmlns()[i].namespaceURI());
}