Article:
  XML Document Validation with an XML Schema
Subject:   Error while validating with a DTD.
Date:   2006-08-03 14:00:43
From:   Salli
Response to: Error while validating with a DTD.

Actually the error is this:


The markup in the document preceding the root element must be well-formed.


Earlier I had missed a backslash in specifying the source for the schema document and it was not able to find the DTD file.

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Error while validating with a DTD.
    2006-08-05 13:00:10  Deepak Vohra | [View]

    The markup in the document preceding the root element must be well-formed.

    Remove any spaces or empty lines before the prolog.