[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: To namespace or not to Namespace ....

  • From: Kendall Shaw <kshaw@kendallshaw.com>
  • To: xml-dev@lists.xml.org
  • Date: Thu, 08 Apr 2010 15:19:17 -0700

Re:  To namespace or not to Namespace ....
David <dlee@calldei.com> writes:

> Any *practical* suggestions ?

The question is similar to whether or not to use namespaces in java or
c++, it seems to me. If you are designing a grammar, the elements should
be in a pseudo-unique namespace to distinguish them from elements of
another grammar.

Namespaces cause problems for people doing text processing instead of
XML processing, when dealing with XML. That means, in my opinion, that
it's a good idea to use XML processing instead of text processing, when
processing XML.

If, instead, you turn this into a principal that you should make your
use of XML suitable to people who have taken an oath to never understand
XML and continue with text processing (i.e. don't use namespaces just so
that people involved can continue to think of XML as text files with
pointy brackets), it will cause problems. Or, that has been my
experience.

It might usually be a good idea to only use one namespace for all the
elements of your grammar, unless they are being included from another
grammar.

Kendall


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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.