OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

regrep message

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


Subject: Re: [regrep] FW: Namespace management




Max Voskob wrote:
> David and all,
> 
> I think it's not about prefixes or how you declare your namespaces in the
> instance documents.
> 
> Imagine an organisation where 25 departments are creating different XML
> documents and formalise them with all sorts of documentation including XML
> Schemas. How do they ensure that the new namespace ID they've just come up
> with is not already used somewhere else within the organisation?
 >>>>>>>>>
I may be missing the use case for doing this.

Namespaces use a unique value to qualify the namespace prefix.  Ones own 
URL is often used becuase URL's are guaranteed to be unique.  There is 
not problem with a collision of namespaces prefixes as long as the 
qualifier value is unique.

example - the foo element

<firstXML xmlns:ebxml="http://www.ebxml.org/thefirstplace">
    <ebxml:foo>content</ebxml:foo>
</firstXML>

is different than

<firstXML xmlns:ebxml="http://www.ebxml.org/somewhereElse">
    <ebxml:foo>content</ebxml:foo>
</firstXML>

Of course,  if the same organization uses the same namespace prefix and 
the same namespace qualifier, then it would indicate equivalency.

Duane


-- 
VP Strategic Relations,
Technologies Evangelist
XML Global Technologies
****************************
ebXML software downloads - http://www.xmlglobal.com/prod/


----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>




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