ability to access the XMLReader

Description

We use Liquibase Facade integration to apply DB changes.
It requires stored files which are used by ChangeLogParser (XMLChangeLogSAXParser in our case).
So there is no possibility to make in-flight changes in ChangeSet-s before or during parsing.

It'd be nice
1. add possibility to use existing input stream (instead of file paths) to create new liquibase.Liquibase
2. add access to XMLReader in XMLChangeLogSAXParser.

Environment

mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu

Activity

Show:

Nathan Voxland February 17, 2011 at 11:07 PM

That makes sense. I'll take a look

Joshua Pollak February 16, 2011 at 7:10 PM
Edited

We would use this feature to modify the XML to change the schema names during parsing to work around CORE-855. Currently we have a solution that overrides all of the *Generator classes to handle this. We currently override 8 Generators to apply a custom schema name each time. This obviously gets a bit old and is fairly brittle as Liquibase evolves.

Details

Reporter

Priority

Created February 16, 2011 at 1:30 PM
Updated February 17, 2011 at 11:07 PM