• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Central Validation

#11
[eluser]obiron2[/eluser]
The problem in the XML import lies in what to do with incorrect records.

Should you import them into the database and alert the user that they need to be fixed
Should you reject just the erroneous records - an issue if referential integrity is required
Should you reject the whole file.

Do you process on 1st pass
Do you validate on 1st pass and save on 2nd pass - not all errors may be picked up - e.g. duplicates.

With form based entry, it is reasonable to assume someone is there to deal with any errors that are detected. You cannot make this assumption with imported data.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.