} else if (myName.equals(XSDate.getInstance().getName())) {
return new DateSG(pFactory, pSchema, pType);
} else if (myName.equals(XSDateTime.getInstance().getName())) {
return new DateTimeSG(pFactory, pSchema, pType);
} else if (myName.equals(XSTime.getInstance().getName())) {
return new TimeSG(pFactory, pSchema, pType);
} else if (myName.equals(XSDuration.getInstance().getName())) {
return new DurationSG(pFactory, pSchema, pType);
} else if (myName.equals(XSAnySimpleType.getInstance().getName()) ||
myName.equals(XSString.getInstance().getName()) ||
myName.equals(XSAnyURI.getInstance().getName()) ||