OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: What XHTML should do with namespaces

[ Lists Home | Date Index | Thread Index ]
  • From: "Rick Jelliffe" <ricko@allette.com.au>
  • To: <xml-dev@ic.ac.uk>
  • Date: Wed, 1 Jan 1997 12:41:27 +0800


From: John Cowan <cowan@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
only
>> 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
words
    <!ELEMENT html ( head, (body|frameset))>
There is no necessity to give any element types apart from the frameset
element
type a special namespace (assuming even that is necessary). If you give
html a different namespace if the document uses framesets, it only gains
you
maybe 20 or 30 characters from when you would find out that you were
using
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
than
transitional DTDs.

Rick Jelliffe


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS