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 ]

> XQuery can't guarantee schema validity completely, because it does not 
> model all of XML Schema (eg it does not model identity constraints or 
> facets), and because there are cases in which the type information used is 
> not specific enough. It *can* catch a large number of common errors.

It's hard to see how anything bigger than the toy examples in the use
case document are ever going to have a static type that's more general
than document to document. Real transformations use parent and ancestor
axes, they use constructed element names, they use data pulled in via
document() from a source not known until runtime as it depends on
data in the input document.  In any of these cases the static type
system gives no information, and as you combine such functions together
the lack of type information is infectious.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.


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

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