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 ]

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.

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.

If I currently have a DTD and thousands possibly millions of XML documents
that conform to this DTD, why should I care about converting my DTD to W3C
Schema just to use XQuery?

Hope this clarifies the question.


Betty Harvey                         | Phone: 410-787-9200 FAX: 9830
Electronic Commerce Connection, Inc. |
harvey@eccnet.com                    | Washington,DC SGML/XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/

On Tue, 2 Jul 2002, Dare Obasanjo wrote:

> The quote from the XQuery working draft seems pretty clear to me.
> I see no mention of RELAX NG in the XQuery WD and the only reference to
> DTDs is in issue 43 which is supposedly handled in the yet to be seen
> "Named Typing Proposal"
> PS: XML-DEV has already done the W3C XML Schema and XML Query dance.
> Read all about it at
> http://lists.xml.org/archives/xml-dev/200205/threads.html with over 200
> posts about XSD, XSLT, XPath 2.0 and XQuery.



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

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