Re: [xml-dev] Come On, DTD, Come On! Thoughts on DSDL Part 9
by John Cowan other posts by this author
Jun 14 2002 7:20PM messages near this date
Re: [xml-dev] Come On, DTD, Come On! Thoughts on DSDL Part 9
|
Re: [xml-dev] Come On, DTD, Come On! Thoughts on DSDL Part 9
Arjun Ray scripsit:
> Arguably this is inherent in the process of fixing names for things, just
> as non-terminals are context-free in practical parser generators and BNFs.
Just so, but although DTD element declarations look like BNF definitions,
they are not -- precisely because an element declaration demands that
the content model it defines be wrapped in an element that is visible
in the instance syntax. (RELAX NG definitions truly are definitions, OTOH.)
> IOW, analytic composition is the principal characteristic of element types
> in this formalism. If you need a different model, give the summation a
> different name. But this is ultimately only because computers don't deal
> with imprecision and ambiguity quite as well as humans do.
The kind we need here is the kind that computers deal with every time a
compiler or interpreter is run.
> The formalism
> does call for a certain amount of circumstantial invention of distinct
> names where humans might have found the same names more congenial. But
> insofar as incidence of the same name does not necessarily mandate the
> same processing (which can be contextually controlled), I'd say that the
> cost of such a naming discipline isn't onerous.
I was rather referring to the inability to give the same name to distinct
things: for example, a title borne by a human being and a title borne by
a book have some similarities, but enough differences that they probably
wind up with different GIs in valid XML or SGML. Backed by a stronger
validation formalism, though, they can have the same GI.
The practice of the XML community has been overwhelmingly to grant the
GI fundamental importance: fulminating against this sociological fact
will not make it go away.
>
> | The treatment of attributes is also weak,
>
> In what way? I suppose I'm also asking for an answer to the issue of
> "ontology" I raised earlier: what are attributes for?
Quot homines, tot sententiae ("as many opinions as persons"). There simply
does not exist any generally accepted view of when attributes should be
used rather than child elements. Therefore, it is important for a
neutrally usable schema language to support them as identically as possible,
excepting the obvious (attributes are unordered and can't contain elements
or other attributes).
--
John Cowan <jcowan@[...].com> http://www.reutershealth.com
I amar prestar aen, han mathon ne nen, http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith. --Galadriel, _LOTR:FOTR_
-----------------------------------------------------------------
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:
John Cowan
Marcus Carr
Eric Bohlman
Marcus Carr
james anderson
james anderson
james anderson
Marcus Carr
Arjun Ray
Marcus Carr
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Deborah Aleyne Lapeyre
John Cowan
Thomas B. Passin
Ronald Bourret
Ronald Bourret
Michael Kay
Thomas B. Passin
james anderson
David Carlisle
james anderson
David Carlisle
james anderson
David Carlisle
james anderson
Michael Kay
james anderson
David Carlisle
Tim Bray
Ronald Bourret
Ronald Bourret
Ronald Bourret
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
John Cowan
John Cowan
james anderson
John Cowan
Rick Jelliffe
Arjun Ray
John Cowan
Rick Jelliffe
Rick Jelliffe
Dennis Sosnoski
John Cowan
Dennis Sosnoski
John Cowan
Dennis Sosnoski
Arjun Ray
G. Ken Holman
John Cowan
Arjun Ray
james anderson
Arjun Ray
John Cowan
Arjun Ray
Rick Jelliffe
John Cowan
Arjun Ray
John Cowan
John Cowan
james anderson
John Cowan
james anderson
james anderson
John Cowan
james anderson
james anderson
John Cowan
Ronald Bourret
Ronald Bourret
Jonathan Borden
Ronald Bourret
Michael Fuller
John Cowan
Bob Hutchison
james anderson
Thomas B. Passin
John Cowan
Ronald Bourret
John Cowan
Thomas B. Passin
Ronald Bourret
Ronald Bourret
james anderson
Norman Walsh
K. Ari Krupnikov
John Cowan
John Cowan
K. Ari Krupnikov
John Cowan
G. Ken Holman
Ronald Bourret
Rick Jelliffe
John Cowan
Marcus Carr
G. Ken Holman
John Cowan
Michael Fitzgerald
Paul Prescod
John Cowan
John Cowan
|