Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Configuring Maps to Wildcard

This attribute applies only to TopLink Workbench. Use this option to solve "No XPath specified" problems (see "Using the Problems Window") for an XML mapping that does not need an XPath (see "Configuring XPath") for it maps to a wildcard.

If the XML mapping is owned by an anyType descriptor (see "Configuring for Complex Type of anyType"), it cannot map to a wildcard, and you must specify an XPath.

Table 66-4 summarizes which XML mappings support maps to wildcard configuration.

Using TopLink Workbench

To specify a map a schema element using the xs:any declaration, use this procedure.

  1. Select the mapped attribute in the Navigator. Its properties appear in the Editor.

  2. Figure 66-2 Mapping Tab, Maps to Wildcard Field

    Reference Descriptor
    Description of "Figure 66-2 Mapping Tab, Maps to Wildcard Field"

If the XML mapping is not owned by an anyType descriptor (see "Configuring for Complex Type of anyType") and maps to a wildcard, then you do not need to specify an XPath (see "Configuring XPath"). Select the Maps to Wildcard (uses "any" tag) option to clear the missing XPath neediness message.

If the XML mapping is owned by an anyType descriptor, it cannot map to a wildcard and you must specify an XPath. Deselect the Maps to Wildcard (Uses "any" tag) option and ensure that you specify an XPath.