Write scale into XMLSchema.