QuoteRequiredInXMLDecl

Notice! This page describes the nature of the error using a hypothetical example and not the erroneous data of the input test file. You should however be able to apply this information to your error case.

General description of the error:

The format of the error message: The value following \"{0}\" in the XML declaration must be a quoted string.

Error description in schema standard: http://www.w3.org/TR/2004/REC-xml-20...NT-VersionInfo

Meaning of error: XML version is not found and file is not considered to be well-formed XML.

Possible causes for this error:

  • Mandatory XML version number is missing from XML declaration.  

Example

<?xml version= encoding="UTF-8"?>

Error message: Fatal Error QuoteRequiredInXMLDecl : The value following "version" in the XML declaration must be a quoted string.

How to fix: Add the version number.

<?xml version="1.0" encoding="UTF-8"?>