- Reference
- Version ยท 6.0.2
- Change Automation Reference
secure-parsing
Last updated: November 23, 2026
secure-parsing stops Liquibase from fetching XML schema files over the network when it parses an XML changelog.
Uses
With secure-parsing set to true, Liquibase resolves every XSD a changelog names from its own JAR files or the search path. If an XSD cannot be found there, parsing stops with an error that names the file. Set it to false only when a changelog needs an XSD that Liquibase does not ship, such as one for a custom extension.
Default: true
It applies to XML changelogs only. Liquibase never processes external entities or DOCTYPE declarations in a changelog, whatever this setting is.
Example: secure-parsing
liquibase --secure-parsing=false update
Syntax
You can set this parameter in the following ways:
Option | Syntax |
Liquibase properties file (defaults file) |
|
Global flow file argument |
|
Global CLI parameter |
|
JVM system property (JAVA_OPTS environment variable) |
|
Liquibase environment variable |
|