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

Proposed standard terminology: "resolve" is the term uses todescribe the

  • From: "Costello, Roger L." <costello@mitre.org>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Thu, 9 Jun 2011 09:27:29 -0400

Proposed standard terminology: "resolve" is the term uses todescribe the
Hi Folks,

1. I propose that the term "resolve" be adopted as the standard term used to describe the determination of constraints on an XML Schema simpleType. See below for a brief discussion of "determining the constraints on a simpleType."

2. I propose the term "resolved" be adopted as the standard term used to describe the result after applying "resolve" on a simpleType.

3. I propose that "resolve" be a standard function in all programming libraries for processing XML Schemas. Here is its function signature:

        resolve :: simpleType -> Resolve

Read as: The function "resolve" takes an XML Schema simpleType as its argument and returns a representation of the constraints on the simpleType.

The representation of a resolved simpleType may be varied. The typeclass "Resolve" indicates that there may be varied representation.

Any comments on this proposed standardization?

/Roger

EXAMPLE OF DETERMINING THE CONSTRAINTS ON A SIMPLETYPE

Consider this simpleType:

    <simpleType name="BostonAreaSurfaceElevation">
            <restriction base="EarthSurfaceElevation">
                    <maxInclusive value="120"/>
            </restriction>
    </simpleType>

It restricts this simpleType:

    <simpleType name="EarthSurfaceElevation">
            <restriction base="integer">
                    <minInclusive value="-1290"/>
                    <maxInclusive value="29035"/>
            </restriction>
    </simpleType>

Analyzing this "simpleType dependency chain" we see that BostonAreaSurfaceElevation is an integer simpleType and is constrained as follows:

- The minInclusive value is -1290

- The maxInclusive value is 120

This example is very simple. In general, a simpleType dependency chain may be long (A restricts B which restricts C which restricts B etc.) and determining the constraints on a simpleType could be quite involved.


[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.