String name = attrs.getValue( DesignElement.NAME_PROP );
String name = attrs.getValue( IDesignElementModel.NAME_PROP );
	protected void initElement( Attributes attrs, boolean nameRequired )	{		DesignElement element = getElement( );		String name = attrs.getValue( DesignElement.NAME_PROP );		if ( StringUtil.isBlank( name ) )		{			if ( nameRequired )			{				// if version<3.2.8, add it to the list and allocate a name in				// end-document				if ( element instanceof ExtendedItem						&& handler.versionNumber < VersionUtil.VERSION_3_2_8 )				{					handler.addUnnamedExtendedItem( (ExtendedItem) element );				}				else					handler							.getErrorHandler( )							.semanticError(									new NameException(											element,											null,											NameException.DESIGN_EXCEPTION_NAME_REQUIRED ) );			}		}		else if ( name.indexOf( ReferenceValue.NAMESPACE_DELIMITER ) != -1 )		{			handler.getErrorHandler( ).semanticError(					new NameException( element, name,							NameException.DESIGN_EXCEPTION_DOT_FORBIDDEN ) );		}		else			element.setName( name );		if ( element.getDefn( ).canExtend( ) )		{			String extendsName = attrs					.getValue( DesignSchemaConstants.EXTENDS_ATTRIB );			element.setExtendsName( extendsName );			resolveExtendsElement( );		}		else		{			// If "extends" is set on an element that can not be extended,			// exception will be thrown.			if ( !StringUtil.isBlank( attrs					.getValue( DesignSchemaConstants.EXTENDS_ATTRIB ) ) )				handler						.getErrorHandler( )						.semanticError(								new DesignParserException(										DesignParserException.DESIGN_EXCEPTION_ILLEGAL_EXTENDS ) );		}		initSimpleElement( attrs );	}