ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] Come On, DTD, Come On! Thoughts on DSDL Part 9
by Arjun Ray other posts by this author
Jun 14 2002 7:10PM 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
John Cowan <jcowan@[...].com>  wrote:
| Arjun Ray scripsit:

|>  I've never understood the distaste for DTDs.
| 
| My principal objection is that they provide only a single content model
| per element type regardless of context.  This arises because they conflate 
| element types with particles in content models.

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.
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 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.

| 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?

| and nothing at all is done when alternation between child elements and 
| attributes is desirable.

Oh dear, that litmus test again.


-----------------------------------------------------------------
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved