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

SV: Comparing lists to singletons

From: Bryan Rasmussen <BRS@itst.dk>
Date: Tue, 22 Aug 2006 11:56:41 +0200
Message-ID: <A2DF252098C9AD4B9781453BE4C5422B0129B292@excw2k301.koncern.local>
To: "Michael Kay" <mike@saxonica.com>, <xmlschema-dev@w3.org>
SV: Comparing lists to singletons


>For the purpose of XML Schema identity constraints (for example key/keyref),
>is the NMTOKENS value "x" equal to the NMTOKEN value "x"?

>It depends on the definition of "equal" in XML Schema Part 2 section 4.2.1.
>But the definitions there don't shed much light: they discuss union types
>but not list types. It comes down to whether a sequence whose only item is
>the string "x" is the same value (=value-space member) as the string "x",
>and I don't see a statement on that anywhere.

I'd suppose not equal, wouldn't that follow XSD's vision of Typing better?

Cheers,
Bryan Rasmussen
Received on Tuesday, 22 August 2006 09:58:10 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
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-2007 All Rights Reserved.