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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XQuery -- Reinventing the Wheel?



Title: RE: XQuery -- Reinventing the Wheel?

Brian Miller wrote:
> Uche Ogbuji <uche.ogbuji@fourthought.com> wrote:
>
> > Strongly typed can be dangerous when we're dealing
> > with semi-structured data. 
>
> Perhaps.  But there is something to be said for a
> filter which is guaranteed to emit XML.  XSLT offers
> no such guarantee, which strikes me as unsafe.

You are both right, of course.

XQuery functions may specify the type of their parameters and their return type, but they are not required to do so. A query may be as strongly typed as you want, but need not be strongly typed at all.

Jonathan