case XQConstants.CONSTRUCTION_MODE_PRESERVE:
sqc.setConstructionMode(Validation.PRESERVE);
case XQConstants.CONSTRUCTION_MODE_STRIP:
sqc.setConstructionMode(Validation.STRIP);
default:
throw new XQException("Invalid value for construction mode - " + mode);
}
}