Re: [xml-dev] Vocabulary Combination and optional namespaces
by james anderson other posts by this author
May 30 2003 1:34PM messages near this date
Re: [xml-dev] Customizing error messages
|
Re: [xml-dev] Vocabulary Combination and optional namespaces
Arjun Ray wrote:
>
> "Simon St.Laurent" <simonstl@[...].com> wrote:
>
> | It seems like namespaces aimed at diambiguation with the "let's create
> | big long names" approach, and then had to abbreviate the big long names
> | to keep the language usable.
>
> Basically, yes. The inveterate metaphysical babbling about "global
> uniqueness" or whatever is just smoke to make up for the lack of a fire.
could someone explain how the "generic vocabulary combination" problem would
be any different if the given initial logical document were encoded as
<zero>
<one> <twelve>Book Review<twelve></one>
<two>
<three>
<four> XML: A Primer</four>
<five>
<six align="center">
<seven> Author</seven><seven>Price</seven>
<seven> Pages</seven><seven>Date</seven>
</six>
<six align="left">
<seven> <eight>Simon St. Laurent</eight></seven>
<seven> <nine>31.98</nine></seven>
<seven> <ten>352</ten></seven>
<seven> <eleven>1998/01</eleven></seven>
</six>
</five>
</three>
</two>
</zero>
or as
<zero>
<one> <two>Book Review<two></one>
<two>
<three>
<four> XML: A Primer</four>
<five>
<six align="center">
<seven> Author</seven><seven>Price</seven>
<seven> Pages</seven><seven>Date</seven>
</six>
<six align="left">
<seven> <eight>Simon St. Laurent</eight></seven>
<seven> <nine>31.98</nine></seven>
<seven> <ten>352</ten></seven>
<seven> <eleven>1998/01</eleven></seven>
</six>
</five>
</three>
</two>
</zero>
or even as
<zero>
<one> <one>Book Review<one></one>
<two>
<one>
<one> XML: A Primer</one>
<two>
<one align="center">
<one> Author</one><one>Price</one>
<one> Pages</one><one>Date</one>
</one>
<one align="left">
<one> <one>Simon St. Laurent</one></one>
<one> <two>31.98</two></one>
<one> <three>352</three></one>
<one> <four>1998/01</four></one>
</one>
</two>
</one>
</two>
</zero>
that is, absent even the attribute-encoded identifiers introduced in the
xml-map example.
and why it would be the same problem if the document were encoded as
<zero>
<one> <one>Book Review<one></one>
<one>
<one>
<one> XML: A Primer</one>
<one>
<one align="center">
<one> Author</one><one>Price</one>
<one> Pages</one><one>Date</one>
</one>
<one align="left">
<one> <one>Simon St. Laurent</one></one>
<one> <two>31.98</two></one>
<one> <three>352</three></one>
<one> <four>1998/01</four></one>
</one>
</one>
</one>
</one>
</zero>
absent a clear explanation, it would be more productive to leave namespaces
out of the discussion.
> [... xml-map example ...]
>
> | The problem comes about if you tried to combine RSS with another XML
> | vocabulary whose elements also resided in the nil namespace.
>
> No problem as long as markup is used to tell the difference. Heck, that's
> what markup is for!
>
> The interesting fact is that not only are colons or multi-part names not
> needed for this,
then leave them out of the its discussion.
> but also such syntactically intrusive devices can
> complicate or preclude solving the problem in the general case.
i don't recall you mentioning this issue before. examples please. i
implemented the xml-map mechanism as initially proposed. it's a while back,
but my recollection is that it was a strictly post-interned-names operation.
which means completely unlrelated to any namespace-related operations and/or
lexical properties.
>
> In fact, I've demonstrated a class of methods (using control attributes)
> to solve these problems:
>
> 1. Allow any vocabulary to be mapped to any partition of the document.
> 2. Allow this for multiple vocabularies uniformly, catering to both
> exclusion and overlap.
>
> Not just that, I've done it with nary a colonified name in sight. Never
> mind that I don't even have "xlink:href versus html:src" problems here!
>
> And for that, I'm supposed to be a troll? Sheesh.
then leave namespaces out of the discussions. if one insists on bringing in
something which is not technically relevant, the reader wonders if the
motivations are technical or rhetorical.
...
-----------------------------------------------------------------
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
|