You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Naela Nissar <nn...@ca.ibm.com> on 2004/09/30 20:53:36 UTC

Schema 1.1 patch: distinction between identity and equality

This patch provides for a distinction between identity and equality for 
datatypes.  For most datatypes, the identity relation is the equality 
relation.
However:        - 0.0 is equal but not identical to -0.0 for float and 
double datatypes
                - for date/time datatypes, two values representing the 
same "moment in time" but with different 'original' timezones are equal 
but not identical




Naela Nissar 
XML Parser Development 
IBM Toronto Lab 
8200 Warden Ave., Markham, ON 

Re: Schema 1.1 patch: distinction between identity and equality

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Thanks Naela. I've committed your patch to CVS.

Naela Nissar/Toronto/IBM@IBMCA wrote on 09/30/2004 02:53:36 PM:

> 
> This patch provides for a distinction between identity and equality 
> for datatypes.  For most datatypes, the identity relation is the 
> equality relation. 
> However:        - 0.0 is equal but not identical to -0.0 for float 
> and double datatypes 
>                 - for date/time datatypes, two values representing 
> the same "moment in time" but with different 'original' timezones 
> are equal but not identical 
> 
> 
> 
> 
> Naela Nissar 
> XML Parser Development 
> IBM Toronto Lab 
> 8200 Warden Ave., Markham, ON
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org