endDelimiter should be allowed on sqlFile. Are you referencing the correct XSD version in your XML root node? Also, what version of liquibase are you running?
Delimiter to apply to the end of the statement. Defaults to ‘;’, may be set to ‘’.
I tried to set on the last lines in my script files the end delimiter as ‘/’ symbol:
CREATE OR REPLACE PACKAGE ORAPACK IS PROCEDURE PROC1; END ORAPACK;
/
and
CREATE OR REPLACE PACKAGE BODY ORAPACK IS
PROCEDURE PROC1 AS BEGIN DBMS_OUTPUT.PUT_LINE(‘SOMETHING USEFUL’); END;
END ORAPACK;
/
And then I changed my changeset file as I found on forum - this link:
But I get another error:
Liquibase update Failed: Error parsing line 19 column 57 of : cvc-complex-type.3.2.2: Attribute 'endDelimiter' is not allowed to appear in element 'sqlFile'.
I cannot put package’s texts in xml section of changeset, only include them via sqlfile tag - the real packages are very complicated and a lot of developers work on them.
What should I do to make the LiquidBase to create y package?