W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > June 1997

Re: Update on namespaces

From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Date: Fri, 27 Jun 1997 16:20:14 -0400
Message-ID: <33B4207E.D5BCAB97@calum.csclub.uwaterloo.ca>
To: w3c-sgml-wg@w3.org
Rick Jelliffe wrote:
> 4) An SGML content model should allow a #OTHER keyword:  ANY is too
> fixed,
> and fully declared content models are too restrictive. E.g.
> 
> <!ELEMENT html ( head, (body | frameset | layer | #OTHER ), tail ) >
> 
> where #OTHER means you can only use an element from some other
> namespace.

I think we should avoid these flapping barn doors. Rather we should have
a structured mechanism for using components and extending them. A sort
of structured equivalent of this:

<!ELEMENT html ( head, (body | frameset | layer | %included-types; ),
tail ) >

Doesn't the Japanese proposal already cover this? You can require
"inputs" to DTDs that are parameter entities that are pasted into
particular places. This is very much like C++ templates.

 Paul Prescod
Received on Friday, 27 June 1997 16:20:46 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:04:44 EDT