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 13 2002 11:38PM 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
Marcus Carr <mcarr@[...].au>  wrote:

| Are we really certain that there will never be a mechanism similar to 
| OMITTAG in XML?

Never say never. :-)

If OMITTAG ever makes into XML, it ought not to be SGML's broken variant.

One use that I'd like to have (in SGML too) is a "virtual element type"
whose basic purpose is grouping, allowing a complex content model to be
analysed into simpler named components.  For instance, suppose we had a
HTML-like specification like this:

  <!ELEMENT  dl  (dt+,dd+)* > 

Sometimes it's useful to gather a term with its descriptions as a group,
like this:

  <!ELEMENT  dl  (dli)* > 

  <!MODEL  dli  (dt+,dd+) > 

Such "elements" could be required to have no tags!  (And they also take
away one reason to use parameter entities.  An open issue would be whether
such virtual elements should share the same namespace as element types, or
be indicated specially in model groups with a distinct marker, such as a
'$' or '@' prefix.) 

| A year ago I would have bet that nobody would ever put any further work 
| into DTDs, yet here we are. 

I've never understood the distaste for DTDs.  The only real eyesore is
parameter entities.  They function as grabbags for all the things that
were missed in the first cut at the syntax - too few kinds of declarations
and thus the brittle practice of using a text substitution mechanism to
"capture" conceptual categories.
 

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