[Home] [By Thread] [By Date] [Recent Entries]

  • From: Ihe Onwuka <ihe.onwuka@g...>
  • To: "Simon St.Laurent" <simonstl@s...>
  • Date: Tue, 9 Apr 2013 18:11:44 +0100

On Tue, Apr 9, 2013 at 5:51 PM, Simon St.Laurent <simonstl@s...> wrote:
>
>> Then, do you just expect the xml to be correct in your application, or
>> do you still perform the business rule checks?  The reality of the
>> situation is you have to perform the checks again, so then you open
>> yourself up to a mismatch between xsd and application.  You would of
>> course much prefer to provide the user with tailored errors messages,
>> they would prefer that too.
>
>
> I would argue for piling it all into business rule checks, with special
> emphasis on generating meaningful messages - not to mention an opportunity
> for human intervention so you have a sense of what's going weird.
>

No.

Because then you are at the mercy of some developer who could be in
another part of the world and may not even be a native speaker of your
language for parsing your business rules.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member