W3C home > Mailing lists > Public > www-xml-query-comments@w3.org > August 2002

Why eliminate TypeRef from prime,quantifier function?

From: Phenix Shieh <phenix_shieh@hotmail.com>
Date: Mon, 05 Aug 2002 18:46:52 +0800
To: www-xml-query-comments@w3.org
Message-ID: <F213S7dHBmS7vNiRS2W00026b1a@hotmail.com>

Hi.
I think in some conditions,the TypeRef can be met when computing prime or 
quantifier of a type.For example:
   $a,/book/author
If the context bind $a to a type(which is a typeRef):"type AUTHOR",and the 
path expression /book/author results type(which is a itemType):"element 
author {...}",how about the expression sequence wrote before if we want to 
compute the prime() of that exprSeq?
One way may solute this problem I think,is to expand the TypeRef before 
computing prime().
But here comes anthor question:if the TypeRef is defined recursively,what 
should we do?

Thank you for your time and consideration,I'm waiting any comments.
Phenix Shieh


_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/
Received on Monday, 5 August 2002 06:47:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 2 February 2007 00:13:05 GMT