[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] What XHTML should do with namespaces
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|