First of all, I think you'd need to define what a
collection is before we go on from there. From what I've seen from the native
XML database space, no one is exactly sure if a collection is simply a directory
containing many XML documents or more akin to a relational database table.
Since XQuery and XPath are based on formalisms, the
concept of what constitutes MUST be well defined before it is included in the
specs. So what do you mean by "a collection"?
-- THINGS TO DO IF I BECOME AN EVIL OVERLORD #19 I will not have a
daughter. She would be as beautiful as she was evil, but one look at the
hero's rugged countenance and she'd betray her own father.
----- Original Message -----
Sent: Tuesday, January 29, 2002 6:04
AM
Subject: [xml-dev] status of
"collections" in XPath / XQuery
What is the status
of defining "collections" in XPath or XQuery? The use cases specified by
W3C seem to be more
at the
"collection" level than specific documents. It seems that each book in
a bibliographies document is better
modeled as a
document
in a collection called "bibliographies".
Is there thought
going on regarding constraints on collections (when they are defined)? I
may want to have all
invoice numbers in
a collection be unique.
|