Re: Namespaces, the universe, and everything

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 UTC