[Monetdb-developers] XQuery type casts: "X cast as xs:TYPE" vs. "xs:TYPE(X)"

Stefan Manegold Stefan.Manegold at cwi.nl
Wed Aug 16 10:30:34 CEST 2006

Hi Pathfinders,

W3C's XML Query Test Suite (XQTS) makes excessive use of type casts a la


Pathfinder, however, doesn't like this, complaining about

	reference to undefined function `xs:TYPE'

(cf., e.g.,

Instead, Pathfinder seem to prefer type casts a la

	X cast as xs:TYPE

What's the desired solution to solve this problem?
Implement also "xs:TYPE(X)" in Pathfinder?
Or "customize" all XQTS tests to use 
"X cast as xs:TYPE" instead of "xs:TYPE(X)"?

Thanks for your comments!


| Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
| CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
| 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
| The Netherlands     | Fax : +31 (20) 592-4312       |

More information about the developers-list mailing list