Mapping and Transforming Data
Some mapping issues and possible resolutions are explained below. This list is not complete but provides examples of messages that might be returned.
- Issue 1:"The expression refers to a variable name,variableName,that is not defined in the static context".
Resolution: If this error is thrown, delete the mapping and re-map. If the XSLT function Copy-Contents-Of is mapped on the right hand side of the mapper, delete the mapping and re-map.
- Issue 2 : If the user experiences an issue that is similar to the following error.
"Caused by: org.genxdm.exceptions.GenXDMException: The prefix 'tns' is already bound to http://NamespaceTest.com/Example Caused by: org.genxdm.exceptions.GenXDMException: The prefix 'tns' is already bound to http://NamespaceTest.com/Example and cannot also be bound to http://xmlns.example.com/20150212141103"
Resolution: To resolve this error, select the element on the right side of the activity's mapper, navigate to the Edit Statement panel and clear the copy-namespaces check box. Refer to the image given below.