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


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] HTML5 and almost no namespaces

David Lee scripsit:

> A suggest in this example namespaces are irrelevant.  A scheme (or as
> you say the context) can clearly distinguish between the two "title"
> elements (they could be defined as local elements).

Certainly.  The question I was addressing is this: Is it good design
to use the same name for elements that have truly different semantics,
which is a sort of pun?  I'd say no, even if context disambiguates:

    <!-- on the Mohr scale: as hard as quartz -->
    <!-- alcohol content: could be U.S. proof, U.K. proof, or percentage,
         you have to look in the documentation -->

This design rule is orthogonal to the use of namespaces.

John Cowan   cowan@ccil.org    http://ccil.org/~cowan
If a soldier is asked why he kills people who have done him no harm, or a
terrorist why he kills innocent people with his bombs, they can always
reply that war has been declared, and there are no innocent people in an
enemy country in wartime.  The answer is psychotic, but it is the answer
that humanity has given to every act of aggression in history.  --Northrop Frye

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

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

Copyright 1993-2007 XML.org. This site is hosted by OASIS