Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Extended I-O status for XML statements (CBX code)

The simple I-O statuses for XML files are described in the “COBOL2000 Reference Manual” [1].

The errors which are indicated by italics in the table below occur only when DTDs are parsed.

I-O status

Meaning

0003

Same name used more than once for attributes

0004

Less than sign ('<') in the attribute value

0005

Opening and closing tags do not match

0010

Double hyphen in comment

0011

Processing instruction not terminated

0012

Name of the processing instruction begins with the reserved string 'xml' (not case-sensitive)

0013

Invalid hexadecimal character specification in numeric character entity

0014

Invalid decimal character specification in numeric character entity

0016

Numeric character entity is not a valid UTF-8 character

0017

Invalid character in entity reference name

0102

Empty document

0110

Value of an attribute not terminated correctly

0119

CDATA section not terminated correctly

0127

Equals sign ('=') missing in attribute

0128

Value for attribute missing

0138

Target name for processing instruction invalid

0139

Invalid character in processing instruction

0142

Version identifier missing in the XML declaration

0148

Equals sign ('=') missing after keyword 'encoding'

0149

Encoding name missing

0150

Encoding name not terminated correctly

0151

Invalid character after the encoding declaration

0155

Value for standalone declaration neither 'yes' nor 'no'

0160

The end of the document is followed by something illegal

0315

'UTF-16LE' encoding is not supported

0317

Encoding cannot be identified

0320

EBCDIC character in a national data item

0321

ASCII/UTF-8 character in a national data item

1001

Parameter entity reference at the end of the document

1002

Parameter entity reference in the prologue

1003

Parameter entity reference in the epilogue

1004

Parameter entity reference in the markup declaration in internal DTD

1005

Entity not declared

1006

Reference to unparsed entity

1007

Reference to external entity in attribute value

1008

Invalid reference to a parameter entity

1009

Expected string begins with quotes

1010

Name space declaration false

1012

Value in an entity declaration is incorrect

1013

Expected literal not found

1014

Blank missing

1015

Expected name missing

1016

Expected greater than sign ('>') missing

1017

Expected equals sign ('=') missing

1018

Entity is not balanced (Something was begun which has not been terminated or something was terminated which had not been begun.)

1019

Illegal character ('&' or '%') in the value of the entity declaration

1020

Parameter entity reference in value or entity

1021

Invalid URI in value or entity

1022

URI begins with hash character ('#')

1023

Encoding declaration missing in XML declaration of an external entity

1024

External DTD required although excluded by standalone declaration

1025

External entity could not be loaded

1098

Contradiction between external encoding identification and encoding declaration

1099

Contradiction between internal encoding and encoding declaration

2001

String not terminated correctly

2003

Literal not terminated correctly

2004

Comment not terminated correctly

2005

Name missing in notation declaration

2006

Notation declaration not terminated correctly

2007

Error in attribute list

2008

Attribute list not terminated correctly

2009

Error in element declaration for mixed content

2010

Element declaration for mixed content not terminated correctly

2011

Error in element declaration

2012

Element declaration not terminated correctly

2013

XML declaration incorrect or missing

2014

XML declaration not terminated correctly

2015

Error in conditional section

2016

Conditional section not terminated correctly

2017

Invalid content in external DTD

2018

Document type definition not terminated correctly

2019

String ’]]>’ not permitted in a value for end CDATA section

2020

Separator missing

2021

nmtoken missing in attribute list

2022

String '#PCDATA' missing in element declaration for mixed content

2023

URI missing

2024

Public identifier missing

2026

Conditional section incorrect

2027

Value missing in entity declaration

2028

There is something behind a balanced entity

2029

Nesting depth of entity references is greater than 40

2030

Keyword 'INCLUDE' or 'IGNORE' missing in a conditional section

2031

Invalid character in content

2096

UTF-16 character in alphanumeric data item

2097

ASCII/UTF-8 character in alphanumeric data item

2098

Contradiction between external and internal encoding identification

2099

Encoding from encoding declaration is not supported

2994

ILCS error

2995

Unexpected EOF

2996

Error while reading

2997

Preview buffer too small

2998

Memory error

2999

Internal error / System error

3000

Unused parser codes - please notify system administrator

Table 36: Extended I-O statuses for XML statements