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.
Important: Always back up your project before running the Mapper Function Migration wizard.
- Procedure
- In BusinessEvents Studio, right-click the project and select
The Migrate Mapper Function Calls to XPath 2.0 window is displayed with information on the action that is performed on the project.
.
- Click Preview to review the changes that is done to the project.
- 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 Undo command.
menu. However, after any additional changes to the resources in the workbench, you cannot use the