- Knowledgebase
- XML Schema
- Miscellaneous
-
Glossary
-
XML / ISO 20022 Standard
-
ISO 20022 Messages
-
XML Schema
- Miscellaneous
- Attribute
- Closing Tag
- Comment
- Content
- Cvc-complex-type
- Cvc-elt
- Cvc-id
- Cvc-identity-constraint
- Cvc-minexclusive-valid
- Cvc-mininclusive-valid
- Cvc-type
- Cvc-totaldigits-valid
- Cvc-attribute
- Cvc-datatype-valid
- Maximum Length
- Cvc-enumeration-valid
- Cvc-fractiondigits-valid
- Cvc-length-valid
- Cvc-maxexclusive-valid
- Cvc-maxinclusive-valid
- Cvc-maxlength-valid
- Cvc-minlength-valid
- Cvc-pattern-valid
- Element Value
- Encoding
- Length
- Mandatory element
- Missing
- Missing Tag
- Missing Child Element
- MIXD
- Root
- Unsupported Characters
- UTF-8
- Value
- Wrong Declaration
-
EPC SEPA
-
CGI-MP
-
US ACH (Nacha)
-
SWIFT MT
-
Finvoice
-
Bank-Specific
-
XMLdation Service Guides
-
Studio Guide
-
Simulator
ContentIllegalInProlog
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: Content is not allowed in prolog.
Error description in schema standard: http://www.w3.org/TR/2004/REC-xml-20040204/#NT-Misc
More information about prolog here.
Meaning of the error: Information not considered as valid prolog is given at the beginning of the file. Prolog is optional and it has to be present before the root tag of the file. If prolog is given, it has to contain version attribute, in addition also encoding and standalone attributes can be given.
Possible causes for this error:
- Prolog has incorrect content
- Invalid content given after prolog. Either root tag or comment should be present
- Invalid content given before prolog. Prolog should be the first thing in the file if given.
Example
?<xml version="1.0" encoding="UTF-8" standalone="no"?>
Error message: Content is not allowed in prolog.
How to fix: Modify prolog so that attributes version, encoding and optionally standalone are given. Prolog is to be inserted inside opening and closing tags "<", ">" and inside question marks "?", with attribute names separated by spaces.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>