Function Not Found Errors During Validation in the Mapper

If you receive the following error when you attempt to validate your mappings in the mapper, you are using an unsupported function (for this example, document()). This error can occur when you import an XSLT file into Oracle Integration that includes functions that were supported in another tool such as Oracle JDeveloper.

javax.xml.transform.TransformerException: Could not find function: document: 
javax.xml.transform.TransformerException: Could not find function: document

The mapper validates if all the referenced functions are supported. You can only use supported functions (those visible in the Functions palette in the mapper user interface) in the mapper in Oracle Integration.