Skip to content

Commit

Permalink
Updated "XSD not found" error message to include missing extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
nvoxland committed Jul 16, 2022
1 parent 94df4b4 commit 1a9a005
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class XMLChangeLogSAXParserTest extends Specification {

then:
def e = thrown(ChangeLogParseException)
e.message == "Unable to resolve xml entity file:///invalid.txt. liquibase.secureParsing is set to 'true' which does not allow remote lookups. Check for spelling or capitalization errors and missing extensions such as liquibase-commercial in your XSD definition. Or, set it to 'false' to allow remote lookups of xsd files."
e.message.contains("Unable to resolve xml entity file:///invalid.txt. liquibase.secureParsing is set to 'true'")
}

def "allows liquibase.secureParsing=false to disable secure parsing"() {
Expand Down

0 comments on commit 1a9a005

Please sign in to comment.