throw noFracDigits(stmt);
}
- final DecimalTypeBuilder builder = BaseTypes.decimalTypeBuilder(stmt.getSchemaPath());
+ final DecimalTypeBuilder builder = BaseTypes.decimalTypeBuilder(stmt.wrapSchemaPath());
for (final EffectiveStatement<?, ?> subStmt : substatements) {
if (subStmt instanceof FractionDigitsEffectiveStatement) {
builder.setFractionDigits(((FractionDigitsEffectiveStatement) subStmt).argument());
* The "fraction-digits" statement, which is a substatement to the
* "type" statement, MUST be present if the type is "decimal64".
*/
- return new SourceException("At least one fraction-digits statement has to be present", stmt.sourceReference());
+ return new SourceException("At least one fraction-digits statement has to be present", stmt);
}
}
\ No newline at end of file