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: [xml-dev] Micro XSD for Micro XML?

I notice the hint here that there may still be room for a MicroXSD language.

Yes, RelaxNG, XPaths and the like are useful for out-of-band or server-side
documentation and/or validation and I'm happy with reminders that MicroXML
users are going to be doing without XSD as well as DTD for their immediate
needs and tool capabilities. But is there just a little room for some kind of
minimalistic XSD-like tooling? Can the lack of namespaces, etc provide the
basis of a very much simplified schema language similar in some ways to
XML Schema such that is effectively a subset of XML Schema? Can XML
Schema be so simplified with a profile that it satisfies all the same
criteria as
MicroXML (can be written as text, can be parsed as easily as possible while
still being valid XML - and XSD, can be specified with extreme brevity and
clarity and taught to newbies, can be used on small platforms such as mobile,
etc)? Maybe something without types (except the xsd datatypes), without
modules (no imports, no includes, etc) and obviously without namespaces
(which might mean breaking strict compatibility with W3C XML Schema).

----
Stephen D Green



On 17 December 2010 13:15, Olivier Rossel <olivier.rossel@gmail.com> wrote:
> 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 <mike@saxonica.com> 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: xml-dev-unsubscribe@lists.xml.org
>> subscribe: xml-dev-subscribe@lists.xml.org
>> List archive: http://lists.xml.org/archives/xml-dev/
>> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>>
>>
>
> _______________________________________________________________________
>
> 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: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>


[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