// enum not used. Validate qname-but-not-ncname.
else
{
try
{
QName qname = new QName(value, handler, true);
if (objToReturn == null) objToReturn = qname;
if (qname.getPrefix() == null) {
StringBuffer enumNamesList = getListOfEnums();
enumNamesList.append(" <qname-but-not-ncname>");
handleError(handler,XSLTErrorResources.INVALID_ENUM,new Object[]{name, value, enumNamesList.toString() },null);
return null;