Schema Namespace Information

Use the following information to complete each Namespaces field in the tab:

Field | Description
--- | ---
Built-in Namespaces | All namespaces defined by `xmlns:<prefix>="<URI>"`. Note that when a schema is imported to the TopLink Workbench (see "Schema Dialog Box"), none of the built-in namespaces' URLs are selected. If you are using inheritance, declare the built-in namespace with `xsi` prefix. Otherwise, TopLink will throw exceptions.
Target Namespaces | All namespaces defined by `targetNamespace="<URI>"`.
Imported Namespaces | All namespaces defined by `xsd:import`.

Prefix

Double-click in the Prefix field to specify the prefix that corresponds to the given namespace.

When the TopLink runtime marshalls (writes) an object to an XML document, it uses the namespace prefixes you specify here.

When the TopLink runtime unmarshalls (reads) an XML document, the document may use any prefix value as long as it corresponds to the appropriate namespace. For more information, see "TopLink Runtime Namespace Resolution".

Declare | When selected, XML documents must use the corresponding URI qualifier when referring to types from this namespace. XML documents may use a different prefix value as long as that value is associated with the appropriate namespace URI. For more information, see "TopLink Runtime Namespace Resolution".

See Also

  Configuring XML Schema Namespace
  Working With XML Schemas