W3C home > Mailing lists > Public > public-microxml@w3.org > January 2013

Re: A really micro schema language

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 16 Jan 2013 22:37:04 +0000
To: Michael Kay <mike@saxonica.com>
Cc: David Lee <David.Lee@marklogic.com>, Brian Kardell <bkardell@gmail.com>, John Cowan <cowan@mercury.ccil.org>, James Clark <jjc@jclark.com>, "public-microxml\@w3.org" <public-microxml@w3.org>
Message-ID: <f5bfw20yctr.fsf@calexico.inf.ed.ac.uk>
Michael Kay writes:

> Exchanging typed data makes sense to me. Doing it by reducing all the
> data to text, and then sending the type information separately in
> another document, to be matched up with the serialized instance by
> means of a complex parsing process, doesn't make much sense at all. If
> you want to send typed data, the type information should be embedded
> in the instance.

Reasonable persons might differ.  The association between types and
tokens need not be complex, and the benefits of separating a contract
from what it governs are substantial, in my experience.

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
Received on Wednesday, 16 January 2013 22:37:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 16 January 2013 22:37:39 GMT