Attribute 'errorIfMissing' is not allowed to appear in element 'include'

Hello,
I’m trying to use this attribute ‘errorIfMissing’, but always get the error:
Attribute 'errorIfMissing' is not allowed to appear in element 'include'.

Also, I checked the online schema and, in fact, the attribute is not there: http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.19.xsd

However is in the documentation: include

My code:

<include file="changelog/changelog-qa.xml" errorIfMissing="False" />

Thanks,

From reviewing the .xsd files in Github, looks like errorIfMissing was added in Liquibase 4.23.

Ah, missed that. Thanks!

Is it possible to add that information in the documentation of the attribute?

I agree that each new feature should indicate what version it was added. We’ll need to let the Liquibase people decide if they want to add that.

1 Like