bugfix: Check formula while reading xml

+ check defined formula with PrepareDefinable function during xml
  parsing