Lists Home |
Date Index |
> -----Original Message-----
> From: Rick Jelliffe [mailto:email@example.com]
> Sent: Wednesday, July 03, 2002 11:32 AM
> To: firstname.lastname@example.org
> Subject: Re: [xml-dev] 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
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