Re: [xml-dev] Vocabulary Combination
by Rick Jelliffe other posts by this author
May 29 2003 7:56AM messages near this date
Re: [xml-dev] Vocabulary Combination
|
Re: [xml-dev] Vocabulary Combination
From: "Arjun Ray" <aray@[...].net>
> Tim Bray <tbray@[...].com> wrote:
> | > "It can't be done" is an acceptable answer, btw.
> |
> | In the general case, it can't be done. The namespaces don't give you
> | enough information.
>
> Right. Namespaces are neither necessary nor sufficient for the general
> problem of vocabulary combination.
I think this is where the new generation schemas languages fit in. The namespaces
set general semantics, the schemas tell you how they must be combined. What neither
of them necessarily set is the semantics of combination (i.e. what do these information
items mean together, what do they mean apart) The best that a schema
can do is constraint a document language to only accept documents that
has certain semantics-of-combination.
The ISO DSDL (Document Schema Description Languages) effort has been
looking into schemas for these kinds of embedded cases. For example,
DSDL Part 4 is being currently developed (get involved! go to www.dsdl.org)
the Validation Candidate Selection Language (VCSL) looks at how to filter information
items by namespace and route them to different schemas: so that, for example,
you might be able to say "I want to validate all the HTML elements, stripping out
the xdc: elements but leaving in xml: information items, and then I want to
validate all the xdc elements, eliding any html elements with another schema."
We have been calling Arjun's use case "depth interleaving": I expect the determining
factor for how many of these kinds of embeddings can be supported will be pragmatic:
"can it be implemented streamable?" and "can it be implemented as successive filters
each generating XML with correct axes relationships intact?" (As distinct from
generating a permuted document with axes altered, such as Richard
Tobin's PSVI).
There is various material around: interested people might like to see James Clark's
Thailand Software Center website on RELAX NG: James' NMS system is one of
the inputs (with Murata Makoto's RELAX Namespaces system as the basis perhaps
sweetened with my Namespace Switchboard idea). I think Murata-san will have a
new draft of VCSL out soon, which really is a major piece in the arsenal of getting
modular schema languages and schema languages more suited to document/publishing
idioms (new and old) rather than relational/object/DTD idioms.
Of course, Schematron can constrain in this kind of area too, and architectural
forms (such as NIST's XAF) can express them too. Even WXS allows you to
skip parts that are not interesting. (Of course, Schematron and XAF are slated for
DSDL too, and its framework can be used for the legacy schema languages
such as WXS or DTDs, but the VCSL will allow a more declarative and logical approach.)
Schematron's new feature, "abstract schemas" are designed to bring out and name
some of these kinds of embedded or interleaved structures too.
Cheers
Rick Jelliffe
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>
Thread:
Arjun Ray
Rick Jelliffe
james anderson
james anderson
K. Ari Krupnikov
Bob Foster
Arjun Ray
Thomas B. Passin
Thomas B. Passin
Bob Foster
Arjun Ray
K. Ari Krupnikov
Arjun Ray
K. Ari Krupnikov
Thomas B. Passin
Simon St.Laurent
Jonathan Borden
Thomas B. Passin
K. Ari Krupnikov
Arjun Ray
Simon St.Laurent
Chiusano Joseph
Arjun Ray
Chiusano Joseph
Chiusano Joseph
Arjun Ray
Thomas B. Passin
K. Ari Krupnikov
Arjun Ray
John Cowan
Arjun Ray
Bob Foster
W. E. Perry
Arjun Ray
Chiusano Joseph
Chiusano Joseph
Chiusano Joseph
W. E. Perry
Chiusano Joseph
Thomas B. Passin
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
K. Ari Krupnikov
james anderson
Arjun Ray
james anderson
Arjun Ray
Rick Jelliffe
james anderson
Arjun Ray
Jonathan Borden
=?ISO-8859-1?Q?Bill_de_h=D3ra?=
Arjun Ray
W. E. Perry
Arjun Ray
Rick Jelliffe
james anderson
Arjun Ray
Rick Jelliffe
Arjun Ray
Rick Jelliffe
Arjun Ray
james anderson
Simon St.Laurent
james anderson
Rich Salz
Jaywanth
Seairth Jacobs
Joe Gregorio
Arjun Ray
Arjun Ray
John Cowan
Simon St.Laurent
Arjun Ray
Paul Prescod
Arjun Ray
Paul Prescod
Arjun Ray
Tim Bray
MURATA Makoto
Arjun Ray
J.Pietschmann
Arjun Ray
Jason Diamond
Tim Bray
Tim Bray
Simon St.Laurent
Joe Gregorio
Paul Prescod
W. E. Perry
james anderson
james anderson
james anderson
Jonathan Borden
Miles Sabin
Simon St.Laurent
Jonathan Borden
Simon St.Laurent
W. E. Perry
Jonathan Borden
Simon St.Laurent
Thomas B. Passin
Jonathan Borden
Miles Sabin
Simon St.Laurent
Simon St.Laurent
Simon St.Laurent
Simon St.Laurent
Simon St.Laurent
Jonathan Borden
=?ISO-8859-1?Q?Bill_de_h=D3ra?=
Jonathan Borden
Miles Sabin
=?ISO-8859-1?Q?Bill_de_h=D3ra?=
james anderson
=?ISO-8859-1?Q?Bill_de_h=D3ra?=
Tim Bray
james anderson
John Cowan
=?ISO-8859-1?Q?Bill_de_h=D3ra?=
Arjun Ray
W. E. Perry
james anderson
=?ISO-8859-1?Q?Bill_de_h=D3ra?=
Joe Gregorio
Joe English
Paul Prescod
Joe English
Arjun Ray
=?ISO-8859-1?Q?Bill_de_h=D3ra?=
Simon St.Laurent
Arjun Ray
Joe English
Simon St.Laurent
Simon St.Laurent
Arjun Ray
|