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

RE: Why no xf:type accessor?

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Fri, 20 Sep 2002 12:00:43 -0400 (EDT)
Message-ID: <E5B814702B65CB4DA51644580E4853FB03DA736A@red-msg-12.redmond.corp.microsoft.com>
To: "John Mercado" <johnkmercado@yahoo.com>, "XQuery Comments" <public-qt-comments@w3.org>

Thank you for your question.  The WG discussed this and decided that
it was enough to have a instance-of function and that a type accessor
was not needed.  

All the best, Ashok 
Ashok Malhotra              <mailto: ashokma@microsoft.com> 
Microsoft Corporation
212 Hessian Hills Road
Croton-On-Hudson, NY 10520 USA 
Redmond: 425-703-9462                New York: 914-271-6477 

-----Original Message-----
From: John Mercado [mailto:johnkmercado@yahoo.com] 
Sent: Thursday, September 19, 2002 5:17 AM
To: XQuery Comments
Subject: Why no xf:type accessor?

The data model draft describes a number of accessors,
most of which appear in F&O.  But I don't see a type
accessor.  I see I can get the typed value, and I
guess I could use instanceof to test to see if it's a
specific type, but what if I want the type name as a
QName?  It seems like that would be a useful function.
 Any reason it was omitted?


Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
Received on Friday, 20 September 2002 13:36:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:10 UTC