New Topic: XML validation on changelog xml

View: New views
1 Messages — Rating Filter:   Alert me  

New Topic: XML validation on changelog xml

by LiquiBase Community Forum :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A new topic, 'XML validation on changelog xml', has been made on a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=187.new#new

The text of the topic is shown below:

Hi,

Using the latest version from the trunk Liquibase doesn't seem to eat a changelog XML with the 1.9 name space. I did change the namespace to 2.0, it validates against the XSD but still it is not processed (validation done with XMLspy).

This is the XML declaration:
Code:
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd">
</databaseChangeLog>


But running Liquibase results in
Code:
WARNING: C:/temp/01_changelog_copy.xml is using schema version dbchangelog rather than version 2.0
liquibase.exception.ValidationFailedException: Validation Failed:
     2 changes have validation failures
          java.lang.NullPointerException
          java.lang.NullPointerException


What's wrong?


Chris

Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The LiquiBase Community Forum Team.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user