}
if( completed )
ref.setAttribute( "use", "optional" );
Particle newAttribute = Particle.Factory.newReferenceInstance( schema, ref );
attributes.put( qname, newAttribute );
newAttribute.validate( context );
}
}
else
throw new XmlException( "Illegal attribute!" );
seen.add( qname );