[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Semantics was Re: XQuery types ...


define the types of semantics
Dare Obasanjo wrote:

> From: Jonathan Borden [mailto:jborden@a...]
...
>
> 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
states

"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).

Jonathan


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.