[Home] [By Thread] [By Date] [Recent Entries]
> -----Original Message----- > From: Rick Jelliffe [mailto:ricko@a...] > Sent: Wednesday, July 03, 2002 11:32 AM > To: xml-dev@l... > Subject: Re: XQuery and DTD/Schema? > > Ah, but there's the rub. Is type assignment indeed the right > thing?* And if/where it is, should it be in used by > augmenting the infoset (TAI) or by inferring types onto a query? Type inference can be ridiculously expensive and in some cases undecidable for complex types. Named typing and enforcing explicit casts by users via operations such as validate() are the best option in creating something reasonably implementable and understandable. Of course, these things are only issues because XQuery is supposed to be "statically typed" -- PITHY WORDS OF WISDOM Lynch's Law: When the going gets tough, everyone leaves. This posting is provided "AS IS" with no warranties, and confers no rights.
|

Cart



