tvp.set(p.getByteArray(), p.getStartOffset(), p.getLength());
tvp.getValue(longp);
if (!Character.isDefined(longp.intValue())) {
throw new SystemException(ErrorCode.FOCH0001);
}
FunctionHelper.writeChar((char) longp.intValue(), out);
}
} else if (tvp1.getTag() == ValueTag.XS_INTEGER_TAG) {
tvp1.getValue(longp);
if (!Character.isDefined(longp.intValue())) {
throw new SystemException(ErrorCode.FOCH0001);