Women in Technology

Hear us Roar



Article:
  Effective Unit Testing with DbUnit
Subject:   DBUnit problem
Date:   2008-09-22 05:06:17
From:   winchetan
i get "org.dbunit.dataset.DataSetException: Line 2: The processing instruction target matching "[xX][mM][lL]" is not allowed."


Error while running my dbunit java files,is there any solution please let me know.

Main Topics Newest First

Showing messages 1 through 1 of 1.

  • DBUnit problem
    2009-12-10 17:50:28  codegenesys [View]

    Hi,

    You should have ill formed XML in your dataset that you are trying to load.

    For example a missing tag or

    <?xml version='1.0' encoding='UTF-8'?>
    repeated twice etc..

    Look for copy paste errors.

    Hope that helps.

    -Code Genesys
    www.codegenesys.com