Altova Mailing List Archives

RE: qualified local/global Re: Namespace problem

From: "Michael Kay" <mhk@---.--.-->
To: <Volker.Zink@------.-->
Date: 8/23/2004 12:23:00 PM
> My experience is, the 
> design should be as small and easy to understand as possible 
> to achieve this goal. 

My experience is that a design with few restrictions (that is, maximum
orthogonality) is usually much smaller and easier to understand than a
design with many restrictions.
> IMHO the namespace design in XML is too powerful and therefore too 
> complex. This means too hard to understand, too many errors 
> when using 
> it, too hard to implement. Namespaces are nothing new. Why are the 
> namespaces in XML more powerful as their counterparts in the 
> programming 
> languages? There must be more than 'why not'.

Namespaces in XML are certainly a pain in the neck, few people nowadays
dispute that. But I don't think you can equate them to the way namespaces
are used in programming languages, because the naming architecture of XML is
completely different (for example, there is no concept of information
hiding). But I don't see where you are getting your analogies from. There is
no restriction in Java, for example, that the type of a method must be
related in any way to the name of the method. Method names and types in Java
are completely orthogonal, and it seems entirely reasonable that element
names and types in XML should also be orthogonal.

Michael Kay 

From nobody@w... Mon Aug 23 10:42:52 2004


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.