Liquibase Context XML prase failed with space


Appreciate if anyone can help on answering this question.
I have recently found out that if we have space behind context. For example “context: a,b,c”, in changset written in XML. Liquibase will fail to prase out a, b or c when i execute the updateSQL or update command. I wanna know if there’s anyway we can detect such a mistake to reject or fail the execution of the changset.
Thank you. Your comments is apprecated


Hi Bill! Just to make sure I understand your question when you say “prase” are you meaning “parse?”

In xml the syntax is:

context=“test” (legacy) or contextFilter=“test” (new), with and equal sign (=), not a colon (:).

1 Like