OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Semantics was Re: [xml-dev] XQuery types ...

[ Lists Home | Date Index | Thread Index ]

Dare Obasanjo wrote:

> From: Jonathan Borden [mailto:jborden@attbi.com]
> As I've said, I see more in common between RELAXNG and XQuery
> semantics than XML Schema, but perhaps I'm the only person to
> think this, so be it.

The XQuery type system is based on W3C XML Schema. To claim otherwise
implies you haven't read the document. Besides the fact that it says so
explicitly[0], in section 3 entitled 'The XQuery Type System' where it

"The XQuery type system is based on XML Schema. XML Schema defines a
notion of validation for XML documents."


Oh yes, I read that. I wonder why

  define element entry { type Book }
  define type Book {
    attribute isbn { xs:string },
    element title { xs:string },
    element author { xs:string }*,

looks so awful much like the RELAXNG non-XML syntax :-)))) But I am glad
they are soooo careful to let us know that this is based on XML Schema --
including the "interleave" feature...

In any case I am pleased with what they've done, not why they said they
needed to do it, nor how they claimed to have gotten the idea (both XQuery
and RELAXNG appear to be derived from XDuce to where the real credit should
be given).



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS