New Topic: LiquibaseServletListener looking for DOCTYPE in changelogs.

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

New Topic: LiquibaseServletListener looking for DOCTYPE in changelogs.

by LiquiBase Community Forum :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A new topic, 'LiquibaseServletListener looking for DOCTYPE in changelogs.', has been made on a board you are watching.

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

The text of the topic is shown below:

Hello:
     I am configuring the LiquibaseServletListener for my current project and have run into the following Exception regarding a missing DOCTYPE declaration in my changelog files.  Is there a DOCTYPE I should be using in my changelog files? If so I have been unable to find this information on the LB wiki.  Please advise... Below is the stacktrace and my configs.


Caused by: liquibase.exception.ChangeLogParseException: Error parsing line 2 column -1 of database/changelogs/master.xml: Valid documents must have a <!DOCTYPE declaration.
             at liquibase.parser.xml.XMLChangeLogParser.parse(XMLChangeLogParser.java:78)
             at liquibase.parser.ChangeLogParser.parse(ChangeLogParser.java:28)
             at liquibase.Liquibase.update(Liquibase.java:105)
             at liquibase.servlet.LiquibaseServletListener.contextInitialized(LiquibaseServletListener.java:137)



<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
                                       http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">

  <include file="3.1.1/releaseChanges.xml" />
  <include file="3.1.2/releaseChanges.xml" />

</databaseChangeLog>


Thanks in advance, guys!
-Ryan

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.
------------------------------------------------------------------------------

_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user