Cvc-complex-type.3.2.2: Attribute 'labels' is not allowed to appear in element 'changeSet'

Hi guys!

I am having issues with labes. I am on latest version 4.17.2 from docker, but also tryed 4.16 just for test.

My changeset looks like this:

<changeSet author="xmlGenerator" id="View.017" labels="test" runOnChange="true" context="pre-production">
<sqlFile dbms="mssql" endDelimiter="\nGO" path="./Views/dbo.Invoices_test.View.sql" relativeToChangelogFile="true" splitStatements="true"/>

and probably is a stupid syntax fault, but after hours testing it I can’t figure out what is going on. I am checking following example from labels :

<changeSet  author="Liquibase User"    id="1"  labels="1.0"  objectQuotingStrategy="QUOTE_ALL_OBJECTS">
       <createTable  schemaName="proschema"  tableName="primary_table">
       <column  name="name"  type="CHAR(20)"/>

So I don’t understand why the error is:

cvc-complex-type.3.2.2: Attribute 'labels' is not allowed to appear in element 'changeSet'.

Hope you could help me, thank you very much

I will answer to myself

I simply was missing xml headers, so liquibase didn’t understand the topology:

	<preConditions onFail="HALT" onFailMessage="This changelog needs to run under the liquibase user account">
		<runningAs username="liquibase"/>
	<include file="./v2.0/base/db.changelog_base.json" />