XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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] To namespace or not to Namespace ....

> > If you don't have an ambiguity problem, the complexity of 
> namespaces is simply unlikely to give you any benefit.
> 
> I'll agree with Liam, to the extent that I'd like to see that 
> emblazoned on a brass plaque somewhere in the XML Hall of Fame.
> 
> The opening "if" is important, of course.
> 

Well, I beg to differ. You may not have an ambiguity problem, but when
someone else tries to use your vocabulary as part of something bigger, they
may have an ambiguity problem. If the designers of the XSLT and XSD
vocabularies had not used namespaces, it would have been difficult or
impossible for someone else coming along later to define a document type in
which both vocabularies coexisted.

So I'd say: if you want to design your vocabulary for longevity and reuse,
put it in a namespace.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 



[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