if (name.equals("enumeration")) {
facet = new XmlSchemaEnumerationFacet();
} else if (name.equals("fractionDigits")) {
facet = new XmlSchemaFractionDigitsFacet();
} else if (name.equals("length")) {
facet = new XmlSchemaLengthFacet();
} else if (name.equals("maxExclusive")) {
facet = new XmlSchemaMaxExclusiveFacet();
} else if (name.equals("maxInclusive")) {
facet = new XmlSchemaMaxInclusiveFacet();
} else if (name.equals("maxLength")) {