[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XQuery and DTD/Schema?
[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. Cheers, Tom P
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|