Migrating Mapper Functions from XPath 1.0 to XPath 2.0

After the project is migrated from Xpath 1.0 to XPath 2.0, to fix some common mapping errors, you can use the Mapper Function Migration wizard.

This wizard fixes the typecast errors, if the data type can be converted using the xsd: constructor functions. It also fixes the issues which the gives the error: XSLT is out of sync with schema component properties.

Note: This wizard cannot fix all mapper errors, but it fixes the common issues when switching from XPath 1.0 to XPath 2.0.
Remember: Always back up your project before running the Mapper Function Migration wizard.

Procedure

  1. In BusinessEvents Studio, right-click the project and select Refactor > Migrate Mapper Function Calls.
    The Migrate Mapper Function Calls to XPath 2.0 window is displayed with information on the action that is performed on the project.
  2. Click Preview to review the changes that is done to the project.
    The preview window is displayed with preview of all the changes.
    Mapper Function Migration Wizard Preview Window
  3. Select or clear the check box for each file after reviewing the changes. Click OK to apply the changes.

What to do next

After the wizard completes, you can revert the changes immediately using the Edit > Undo File Changes menu. However, after any additional changes to the resources in the workbench, you cannot use the Undo command.