LiquibaseServletListener looking for DOCTYPE in changelogs.

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

 
 

Thanks in advance, guys!
-Ryan

Do you know what you are using for an XML parser?  It looks like it is an older one that doesn’t support XSDs.

Nathan

Oh, good point, Nathan… I’ll find a way to resolve this.  As always, Thank You.

Originally posted by: Nathan
Do you know what you are using for an XML parser?  It looks like it is an older one that doesn't support XSDs.

Nathan

It turns out that the app server I am required to run on at the moment bundles crimson 1.1 which does not support XSDs as you suggested.  I’ve pointed the container to an updated xerces parser and now all is well.  Thanks again, man.

No problem, glad you figured it out.

Nahtan