Re: [xml-dev] To namespace or not to Namespace ....
On Wed, Apr 7, 2010 at 2:33 PM, Andrew Welch <[email protected]> wrote:
Ha! Just Ha!
You probably need to add about 100 items to your list.
--
Uche Ogbuji http://uche.ogbuji.net
Founding Partner, Zepheira http://zepheira.com
Linked-in profile: http://www.linkedin.com/in/ucheogbuji
Articles: http://uche.ogbuji.net/tech/publications/
TNB: http://www.thenervousbreakdown.com/author/uogbuji/
Friendfeed: http://friendfeed.com/uche
Twitter: http://twitter.com/uogbuji
http://www.google.com/profiles/uche.ogbuji
> I just hope people will actually evaluate the costs of using namespaces
> before automatically sticking them on everything.
You can't go far wrong if:
- You pick a namespace that will never change: don't use dates, or
words like 'proposed' or 'beta', or embed version information
- You always use a prefix
- You tell the team to always use an XML parser to read the XML, and
an XML writer to serialise the XML, and never ever process XML as a
string
Ha! Just Ha!
You probably need to add about 100 items to your list.
--
Uche Ogbuji http://uche.ogbuji.net
Founding Partner, Zepheira http://zepheira.com
Linked-in profile: http://www.linkedin.com/in/ucheogbuji
Articles: http://uche.ogbuji.net/tech/publications/
TNB: http://www.thenervousbreakdown.com/author/uogbuji/
Friendfeed: http://friendfeed.com/uche
Twitter: http://twitter.com/uogbuji
http://www.google.com/profiles/uche.ogbuji