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

Re: Value spaces are cool! I wish for a cross-product(aggrega

  • From: John Cowan <cowan@mercury.ccil.org>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Thu, 24 Feb 2011 12:10:11 -0500

Re:  Value spaces are cool!  I wish for a cross-product(aggrega
Costello, Roger L. scripsit:

> Is there another option (beside XML Schema) for expressing value spaces
> and aggregate value spaces? Can aggregate value spaces be expressed
> using Relax NG?

RELAX NG allows for multiple datatype libraries.  The only library
required by the spec is a trivial one containing "string" and "token"
types.  However, most RNG tools support at least the XSD library, and
some can be extended to support libraries written in a conventional
programming language.  DTLL is a forthcoming XML-based language for
declaring your own datatype libraries without having to write code.

There are a few minor incompatibilities between the RNG view of the XSD
library and its own view:

    The whiteSpace facet is not supported.

    The enumeration facet is not supported (use a choice of values
    instead).

    Multiple pattern facets are an implicit intersection rather than an
    implicit union as in XSD 1.0.  In XSD 1.1, they are also an implicit
    intersection.

    The NOTATION datatype is treated as a synonym for QName, because
    RELAX NG does not have notation declarations.

    The ID, IDREF, and IDREFS types must be used in a DTD-compatible way.
    That is, they can only be used as attribute types, and the attributes
    of a specified element name have to share the same IDness across
    all uses of that element name.  This arises particularly when you
    specify that a wildcard attribute (which must always be of type
    string) and an ID attribute may both appear on the same element.
    The wildcard must be modified to exclude the ID attribute.

-- 
It was impossible to inveigle           John Cowan <cowan@ccil.org>
Georg Wilhelm Friedrich Hegel           http://www.ccil.org/~cowan
Into offering the slightest apology
For his Phenomenology.                      --W. H. Auden, from "People" (1953)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.