Release Notes: XML Module Release Notes
The XML Module can process and extract data from an XML document. Although DataWeave is recommended for most XML-related use cases, the XML module should be used for cases that involve the use of XML standards such as XSLT, XPath and XQuery, or XSD.
To use the XML module, you simply add it to your Mule app through the Studio or Flow Designer UI, or you can add the following dependency in your
<dependency> <groupId>org.mule.modules</groupId> <artifactId>mule-xml-module</artifactId> <version>1.1.0</version> <!-- or newer --> <classifier>mule-plugin</classifier> </dependency>
When using the XML Module to validate against a schema that has references to other local schema files, validation can fail because the access was restricted by the
expandEntities as it was using the default value of NEVER. The error message is: The supplied schemas were not valid. schema_reference: Failed to read schema document
file access is not allowed due to restriction set by the accessExternalSchema property.
You can eliminate this issue by adding
expandEntities="INTERNAL" to the