Re: [xml-dev] Micro XSD for Micro XML?

From
Olivier Rossel <>
To
Michael Kay <>
Date
2010-12-17T13:15:40Z
ID
<AANLkTinfGJHC2h=>
Thread
Re: [xml-dev] Micro XSD for Micro XML?
Wild idea:
the MicroXSD validator may optionnally materialize the data types it infers
by injecting type-oriented attributes (such as @type="...., ...")

This feature is interesting when you want to:
1 - type your data for later use
2 - understand how a document is semantically structured, without
reading/understanding/mastering its XSD

PS: of course, we must agree that a a MicroXSD describes the mapping
between the semantic of the data and its XML representation, and not
just a bunch of technical unclear-to-humans russian-doll rules.


On Fri, Dec 17, 2010 at 1:45 PM, Michael Kay <> wrote:
> On 16/12/2010 14:43, Stephen Green wrote:
>>
>> Now we have 'Micro XML', can't have a Micro XML Schema (Micro XSD)?
>>
>
> The winning combination, I would think, would be a combination of RelaxNG
> for grammatical constraints, XPath assertions for predicate-based
> constraints, and data types based on Jeni Tennison's DataType Library
> Language [1]
>
> Michael Kay
> Saxonica
>
> [1] http://www.jenitennison.com/datatypes/
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: 
> subscribe: 
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>