[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|