cancel
Showing results for 
Search instead for 
Did you mean: 

reg:Namespace

Former Member
0 Kudos

In namespace which is better to use as prefix http:// or urn.

and it is known that xml namespace is limited upto 60 chars.

i want to know is there is any limitation for repository namespace,if yes how many chars and how to over come the limitation?

want good explanation on it....

regards

chandrakanth.k

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

> In namespace which is better to use as prefix http:// or urn.

In principle there is no difference, but in practise most applications use http namespaces, so I recommend to go for this.

If you want to use Java proxies, then avoid urn namespaces, as package names are not related from urn namespaces correctly.

Regards

Stefan

Former Member
0 Kudos

Hi,

Namespaces in the Integration Builder are namespaces in the sense of XML namespaces that are sub-divided further into semantic units within the Integration Builder software component versions. Objects of a namespace can only be shipped as part of the corresponding software component version and not separately.

Each object for a namespace has a unique name within this namespace. An object is

identified uniquely by a namespace + object name.Basically, a namespace in XML can be any constant value. Note the following two

conventions:

http:// When you specify an HTTP address as a namespace this does not mean that you

can access additional information about the namespace from this address (in some

cases an XML schema definition is hidden behind the address). The HTTP address

used merely ensures that the name of the namespace is unique. SAP namespaces

adhere to the standard http://sap.com/xi/<Name>.

urn: Namespaces with this prefix have no value in the sense that they are not

connected with a web page in the Internet.

For Both http & urn there is limitation of Char 60 max.The namespace is to avoid the naming conflicts, so I am doubtful if you have to perticularly used it for any other requirment as more than 60 Chars

Thanks

Swarup

Edited by: Swarup Sawant on Mar 24, 2008 7:26 AM

Former Member
0 Kudos

Hi

As You seem to know a bit more about namespaces in XI... I have situation where external systems use longer namespaces (long namespace names are not my made up by myself!). This is really painful to create a workaround (using XSL mappings) as all the namespaces are just a little longer than 60 characters.

I could understand a limitation of 1024 characters (URL maximum length) but 60 character limit is strange.

So the question remains. What to do if there is a need for using longer namespaces than 60 characters?

Best wishes,

Heiko