}
Field[] fs = (Field[])fields.toArray( new Field[fields.size()] );
if( startTag.localName.equals("key") )
id = new KeyConstraint( reader.currentSchema.targetNamespace, name, selector, fs );
else
if( startTag.localName.equals("unique") )
id = new UniqueConstraint( reader.currentSchema.targetNamespace, name, selector, fs );
else
if( startTag.localName.equals("keyref") ) {