W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2002

RE: Casting from string inconsistency

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Mon, 9 Dec 2002 06:28:13 -0800
Message-ID: <E5B814702B65CB4DA51644580E4853FB03DA771F@red-msg-12.redmond.corp.microsoft.com>
To: "Elliotte Rusty Harold" <elharo@metalab.unc.edu>, <public-qt-comments@w3.org>

The text in 16.6 is incorrect.  Section 16.13 says that it is not
possible to cast from any other type to NOTATION.  

All the best, Ashok

-----Original Message-----
From: Elliotte Rusty Harold [mailto:elharo@metalab.unc.edu] 
Sent: Friday, December 06, 2002 6:52 PM
To: public-qt-comments@w3.org
Subject: Casting from string inconsistency





Section 16.6 of XQuery 1.0 and XPath 2.0 Functions and Operators states:

Casting is permitted from string and anySimpleType to any primitive 
atomic type or an atomic type derived by restriction except QName.

However, the table in section 16 shows that neither a string nor 
anySimpleType can be cast to a notation. Either the table or the 
statement in section 16.6 is wrong. I don't know which.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+
Received on Monday, 9 December 2002 09:29:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:44 UTC