if (literal == null && eType != null)
{
return isMany()? null : eType.getDefaultValue();
}
else if (eType instanceof EDataType)
<BUG>{
EFactory factory = eType.getEPackage().getEFactoryInstance();
if (factory != defaultValueFactory)</BUG>
{
EDataType eDataType = (EDataType)eType;

if (literal == null && eType != null)
{
return isMany()? null : eType.getDefaultValue();
}
else if (eType instanceof EDataType)
{
EPackage ePackage = eType.getEPackage();
if (ePackage != null)
{
EFactory factory = ePackage.getEFactoryInstance();
if (factory != defaultValueFactory)
{
EDataType eDataType = (EDataType)eType;
