Hashtable facets = new Hashtable (2);
facets.put(SchemaSymbols.ELT_WHITESPACE, SchemaSymbols.ATT_REPLACE);
createSchemaDatatypeValidator("normalizedString", new StringDatatypeValidator(), facets, false);
facets.clear();
facets.put(SchemaSymbols.ELT_WHITESPACE, SchemaSymbols.ATT_COLLAPSE);
createSchemaDatatypeValidator("token", getDatatypeValidator("normalizedString"), facets, false);
facets.clear();
facets.put(SchemaSymbols.ELT_PATTERN , "([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]+)(-[a-zA-Z]+)*" );