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

Re: Namespaces, the universe, and everything

From: Paul Grosso <paul@arbortext.com>
Date: Thu, 19 Jun 1997 16:00:31 -0500
Message-Id: <>
To: w3c-sgml-wg@w3.org
At 14:37 1997 06 19 -0600, Dave Hollander wrote: 
>"islands of validity": An interesting concept. ...
>What about the other side of the coin, if there is a DTD for mydoc, but
>not for formula, can you have a valid document with an opaque bubble?
>Is there any way to make this a SGML valid concept? If the mydoc DTD 
>had formula as any would be be ok?

The overall document would be valid if either:
1.  the mydoc DTD had an ANY declaration for formula *and* all the elements
    that could be inside forumula, or
2.  if formula changed its content's namespace to some other DTD and that
    DTD had an ANY declaration for all the elements.

If you want validity, you do have to have a declaration for every element.

>How is validation with ANYDTD interesting? Only for the smart editor?

An ANY DTD is basically an 8879-compatible way to give a list of
elements names that can be combined in any well-formed way.  Validation
against such a DTD is effectively equivalent to just validating
against a list of allowable element names.  As such, it's only
'interesting' in that it is as close to well-formed as you can
get and still be able to validate.
Received on Thursday, 19 June 1997 17:01:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:10 UTC