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 ]

[Betty Harvey]
> That doesn't really answer my question.  Maybe I phrased it wrong.  Is
> a W3C Schema required in order to use XQuery.  I would imagine that
> Oracle and other XML aware database will allow DTD's for validing and
> importing and exporting XML data in and out.

As I understand it, you will not need a schema to use XQuery, but of course
you will not be able to use types as part of a query definition.  You will
only be able to use names to identify what you want to retrieve, which may
very well be fine.  That's what we do with xslt now, but XQuery will do more
of it more conveniently (I hope it will be more convenient).

> I can include the W3C datatypes within a DTD, an XML parser just won't
> validate that the datatypes are valid using an 'off the shelf' XML parser.
> A lot of documents don't require datatyping (although they are nice to
> have they aren't imperative).
> Does XQuery require a W3C Schema?  Does XQuery care?  Can I use the
> datatyping and validating capability within my database of choice
> if it supports XQuery.

There has been some discussion here that different data type systems should
be pluggable (for simple types), but if that ever happens it seems that it
will not be any time soon.


Tom P


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

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