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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   What XHTML should do with namespaces

[ Lists Home | Date Index | Thread Index ]
  • From: "Rick Jelliffe" <ricko@allette.com.au>
  • To: "XML-DEV" <xml-dev@ic.ac.uk>
  • Date: Fri, 17 Sep 1999 02:00:44 +0800

 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.

  3) There should be a EXTENSIBLE XHTML DTD created, in which all
relevant attributes are declared for elements, but all element types
them
selves have no definitions or definitions of ANY.  It is this DTD that
documents should be transmitted with. It allows attribute defaulting
and is open for extensibility, but provides weak type checking by
recipient validators.

 4) There should be 3 other DTDs created:
    strict (includes only elements from the base namespace)
    transitional (includes only elements from the base and slack
namespace)
    frameset (includes elements from all namespaces)
These three DTDs can be used for server/generator/tidier programs
but are not for usual publically-distributed documents.

This is the correct use of namespaces IMHO. Also, it makes XHTML
documents extensible without DTD rewriting, which the current
XHTML specification does not allow.  In a sense, "strictly conforming
XHTML documents" should be called non-extensible HTML!

XHTML should start off mandating this kind of weakly typed DTD
to allow extensibility: the strong typing should be provided by
future XML Schema languages, with the DTD becoming merely
a way to declare entities, transport comments, define attributes
and defaults tersely, and for providing some kinds of document-specific
restrictions to schemas.

XHTML' approach to namespace is wrong because the whole thing is
mistaken: lets not enshrine closed content models any more!  XHTML
should support extensibility!

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