What XHTML should do with namespaces

Rick Jelliffe ricko at allette.com.au
Wed Sep 22 06:13:48 BST 1999

From: John Cowan <cowan at locke.ccil.org>

>Rick Jelliffe scripsit:
>>  1) There should be three namespaces:
>>     base
>>     slack
>>     frames
>>  2) These namespace should be formally defined by means of a simple
>> list in each case, so that every HTML 4 element is allocated to one
>> namespace each.
>Doesn't work.  Transitional doesn't just add new elements to Strict,
>it adds new attributes for the old elements.  Frameset differs because
>it has different content models from Transitional.

Frameset only only differs from transitional at the top level. In other
    <!ELEMENT html ( head, (body|frameset))>
There is no necessity to give any element types apart from the frameset
type a special namespace (assuming even that is necessary). If you give
html a different namespace if the document uses framesets, it only gains
maybe 20 or 30 characters from when you would find out that you were
framesets anyway.

As for transitional versus strict, the DTD is not a function of the
element type
name, so it does not matter that strict DTDs attach different attributes
transitional DTDs.

Rick Jelliffe

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list