[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

What XHTML should do with namespaces

  • From: "Rick Jelliffe" <ricko@a...>
  • To: "XML-DEV" <xml-dev@i...>
  • Date: Fri, 17 Sep 1999 02:00:44 +0800

extensible xhtml
 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@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.