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

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

  • From: Stephen Green <stephengreenubl@gmail.com>
  • To: Andrew Welch <andrew.j.welch@gmail.com>
  • Date: Thu, 8 Apr 2010 09:12:08 +0100

Re:  To namespace or not to Namespace ....
There is another general way to go (with exceptions, obviously):

1. Always use a namespace (single namespace - yes, yes, yes)
2. Never import a common library (multiple namespaces - no, no, no)

---
Stephen D Green




On 8 April 2010 09:03, Andrew Welch <andrew.j.welch@gmail.com> wrote:
> On 8 April 2010 08:18, Dave Pawson <davep@dpawson.co.uk> wrote:
>> On Wed, 7 Apr 2010 22:55:20 +0100
>> Andrew Welch <andrew.j.welch@gmail.com> wrote:
>>
>>> I don't have a problem with namespaces, neither do most people after
>>> some exposure to them and some simple tips.
>>
>> But non XML authors do Andrew.
>>  Simon hinted at it. Introducing authors to xml is bad enough
>> (all that crud around the text). Adding namespaces to it as well
>> is probably too much.
>
> The OP's problem is a common one:
>
> - You have to create some new XML for your employer from currently non-XML data
> - That XML will be used by customers, but also potentially published
> for the wider public to use
>
> Do you use a namespace?
>
> As David said, currently the advice seems to be be a mix of "always"
> and "never".
>
> I say always, others seem to be saying never.  The never argument
> seems to be based on the added complexity, but that complexity can be
> reduced and all the usual pitfalls avoided easily enough using the 3
> simple things I've mentioned.
>
> There's a similar lack of consensus around versioning the xml... which
> may well be David's next problem.
>
>
>
> --
> Andrew Welch
> http://andrewjwelch.com
> Kernow: http://kernowforsaxon.sf.net/
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>


[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.