XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS