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

Re: FW: XML Schema datatypes: NaN, lists of union types,[NEL],misce llan

  • From: Eddie Robertsson <eddie@a...>
  • To: "Arnold, Curt" <Curt.Arnold@h...>
  • Date: Fri, 06 Apr 2001 10:25:55 +1000

xml nan
"Arnold, Curt" wrote:

> Thanks for the clarification, but I do think on this point Section 2.5 is still unnecessarily misleading and inconsistent with the cos-list-of-atomic section that you referenced.  Sorry, I haven't
> lived with the document as long as you have so my comments were based strictly on the prose.  I glad that the intent was not to bar lists of unions.
>
> "list datatypes are always derived. The value space of a list datatype is a set of finite-length sequences of atomic values. "
>
> Okay so far, since each individual item in the list is ultimately an atomic value.
>
> "The lexical space of a list datatype is a set of literals whose internal structure is a white space separated sequence of literals of the atomic datatype of the items in the list (where whitespace
> matches S in [XML 1.0 (Second Edition)]). "
>
> Unfortunately, here it uses "the atomic datatype" which implies an exclusive atomic datatype shared by all items in the list.  If the phrase was "the atomic datatypes" or "the atomic or union
> datatype" then things would be okay.
>
> "Definition: The atomic datatype that participates in the definition of a list datatype is known as the itemType of that list datatype. "
>
> Again "the atomic datatype" is used.

I asked these same questions some weeks ago and Henry pointed me to the correct place [1]. One other thing that Henry pointed out is that a list type cannot be derived from a union type that in turn is
derived from a list type. I haven't found this information in the specification and if this information isn't there you could _indirectly_ derive a list type from another list type (via a union type).

Cheers,
/Eddie


[1] http://www.w3.org/TR/xmlschema-2/#derivation-by-list


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-2011 All Rights Reserved.