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

RE: Some random noise on rational type systems for XML

  • To: <xml-dev@l...>
  • Subject: RE: Some random noise on rational type systems for XML
  • From: "Andrew Layman" <andrewl@m...>
  • Date: Tue, 6 May 2003 16:05:16 -0700
  • Thread-index: AcMUIbG5V30X2EGTTTCL1OrWFVuVKgAAFQzg
  • Thread-topic: Some random noise on rational type systems for XML

for xml null
In XML there are three (not two) syntactic devices that people have at
various times asserted have some connection to the absence of a tuple in
the relational model.  

XML has:
	1.	Omission of an optional element.
	2.	Presence of an element having the attribute xsi:nil
	3.	Presence of an element having empty content.

SQL does make a distinction between omission and NULL in some contexts
(e.g. an UPDATE statement) but not in others (e.g. a rowset).

-----Original Message-----
From: Jeff Lowery [mailto:Jeff.Lowery@c...] 
Sent: Tuesday, May 06, 2003 3:45 PM
To: 'Amelia A.Lewis'; xml-dev@l...
Subject: RE:  Some random noise on rational type systems for
XML

> The SQL people
> encountered this, and found a solution, which made them 
> heretics in the
> eyes of the relational true believers.  The problem is that 
> whenever you
> have a thing that has a value, it is often useful to be able to say
> "don't know" "not specified" "undefined" "null" or "nil".  W3C XML
> Schema introduces a mechanism for this.  So, umm, why?  XML 
> already has
> a way to say nothing.  Say nothing.  The empty string.  No data.  Not
> specified.  

I would say "data is undefined" and "data does not exist" are two
different
things.  SQL treats NULL different from an empty string.  For XML, null
would seem not to be necessary for numbers, since 'empty' would not
necessarily be interpreted as zero.

> Heh.  But this is already too long, and besides, I *enjoy*
> cliff-hangers, so let's just Tune In Next Week for Another 
> Bland Episode

Spring: the silly season.

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>


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.