OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] XQuery and DTD/Schema?

[ Lists Home | Date Index | Thread Index ]


> -----Original Message-----
> From: Rick Jelliffe [mailto:ricko@allette.com.au] 
> Sent: Wednesday, July 03, 2002 11:32 AM
> To: xml-dev@lists.xml.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
"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. 







 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS