[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] To namespace or not to Namespace ....
- From: "Michael Kay" <mike@saxonica.com>
- To: "'Simon St.Laurent'" <simonstl@simonstl.com>,<liam@w3.org>
- Date: Wed, 7 Apr 2010 20:51:49 +0100
> > 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]