[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
- From: Fraser Goffin <goffinf@gmail.com>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Tue, 9 Apr 2013 20:37:45 +0100
Agreed, but XSD on its own in my experience at least, is not
sufficiently expressive.
Fraser.
On 09/04/2013, John Cowan <johnwcowan@gmail.com> wrote:
> On Tue, Apr 9, 2013 at 3:06 PM, Fraser Goffin <goffinf@gmail.com> wrote:
>
>
>> Hallelujah something we can agree on. The business application should
>> always be the repository of business rules and validation is one
>> aspect of that. I only consider XSD useful as an optimisation so that
>> you don't consume cycles only to find something that you could have
>> discovered at the front door.
>
>
> When you publish a set of documents, publishing the schema to which you
> claim they conform is very useful for everyone. For one thing, it's
> concrete, testable documentation about what to expect from you. This is
> the opposite of the "normal" use of schemas as input validation: here they
> are serving as *output* validation as well as documentation.
>
>
> --
> GMail doesn't have rotating .sigs, but you can see mine at
> http://www.ccil.org/~cowan/signatures
>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]