Re: Fwd: [xml-dev] Not using mixed content? Then don't use XML

From
Fraser Goffin <>
To
"" <>
Date
2013-04-09T19:37:45Z
ID
<CAJ6jfGEtJy+OqehZxdgYfm2z7Kms4OSPSnBECuz=>
Thread
Re: Fwd: [xml-dev] Not using mixed content? Then don't use XML
Agreed, but XSD on its own in my experience at least, is not
sufficiently expressive.

Fraser.

On 09/04/2013, John Cowan <> wrote:
> On Tue, Apr 9, 2013 at 3:06 PM, Fraser Goffin <> 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
>