XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: Fwd: [xml-dev] Not using mixed content? Then don't use XML

On Tue, Apr 9, 2013 at 5:51 PM, Simon St.Laurent <simonstl@simonstl.com> 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS