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: <3.0.32.19970619160009.006997a8@pophost.arbortext.com>
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.

>
><Tagent-question>
>How is validation with ANYDTD interesting? Only for the smart editor?
></Tagent-question>

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 EDT

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