Show TOC Start of Content Area

Background documentation Namespaces  Locate the document in its SAP Library structure

The World Wide Web Consortium (W3C) (http://www.w3c.org) defined the naming and addressing standards for Web development. The Enterprise Portal uses these standards in the EPCF service for the events and Client Data Bag.

This section refers to Request for Comments (RFC). The comment for the specified RFC number can be found at http://www.ietf.org.

Name Syntax

Some methods, for example, EPCM.raiseEvent(...), expect a Name as argument. Name is a String variable with restricted characters.

Valid characters for Name are:

Range

Characters

Lowercase characters

a to z

Uppercase characters

A to Z

Numerical characters

0 to 9

Additional characters

Underscore(_), Dash (-)

Namespace Syntax

The namespace definition is compliant with the Unified Resource Name (URN) specification, which is available from the World Wide Web Consortium. Namespaces used in JavaScript functions calls must be compliant to this specification.

Namespaces reserved by the Enterprise Portal

Reserved name-space

Used for

com.sapportals.portal.*

Portal core development

com.sapportals.*

Portal core development

The namespace must start with the string "urn:" followed by the structure (in Backus-Naur form)

<URN>::="urn:" <Namespace_identifier> ":" <Namespace_Specific_String>

The tokens <namespace_identifier> and <Namespace_Specific_String> must be compliant with the recommendation RFC 2141 and RFC 1630. We recommend that you use only lowercase, uppercase and numerical characters.

Uniform Resource Identifier (URI)

It addresses a resource in the Internet in the following way:

      By name

This is called Uniform Resource Name (URN).

      By location,

This is called Uniform Resource Locator (URL).

Uniform Resource Locator (URL)

It addresses a resource in the Internet. The URL is the address you enter into the address field of your browser. The URL syntax describes a subset of the Uniform Resource Identifier syntax.

Uniform Resource Name (URN)

It addresses a resource in the Internet, regardless of its location. The URN syntax follows the rules of the URI. A URN can also be used to define distinct entities without being associated to an existing resource. The name spaces in the portal make use of this feature. A URN has the prefix: urn://. For further information about the syntax, see the description for RFC 2141 at www.ietf.org.

End of Content Area