PARSE XML: Reason Codes for Error Message NAT8311

#### Search Results

Search

# PARSE XML: Reason Codes for Error Message NAT8311

If the XML parsing process terminates with error message NAT8311, the XML input document is syntactically invalid. The reason codes returned, along with NAT8311, represent the following meanings:

##### Reason Codes for Error Message NAT8311

Reason Code | Explanation
--- | ---
101 | Out of memory
102 | Syntax error
103 | No element found
104 | Not well-formed (invalid token)
105 | Unclosed token
106 | Partial character
107 | Mismatched tag
108 | Duplicate attribute
109 | Junk after document element
110 | Illegal parameter entity reference
111 | Undefined entity
112 | Recursive entity reference
113 | Asynchronous entity
114 | Reference to invalid character number
115 | Reference to binary entity
116 | Reference to external entity in attribute
117 | XML or text declaration not at start of entity
118 | Unknown encoding
119 | Encoding specified in XML declaration is incorrect
120 | Unclosed CDATA section
121 | Error in processing external entity reference
122 | Document is not standalone
123 | Unexpected parser state – please send a bug report
124 | Entity declared in parameter entity
125 | Requested feature requires `XML_DTD` support in Expat
126 | Cannot change setting once parsing has begun
127 | Unbound prefix
128 | Must not undeclare prefix
129 | Incomplete markup in parameter entity
130 | XML declaration not well-formed
131 | Text declaration not well-formed
132 | Illegal character(s) in public ID
133 | Parser suspended
134 | Parser not suspended
135 | Parsing aborted
136 | Parsing finished
137 | Cannot suspend in external parameter entity
138 | Reserved prefix (xml) must not be undeclared or bound to another namespace name
139 | Reserved prefix (xmlns) must not be declared or undeclared
140 | Prefix must not be bound to one of the reserved namespace names
141 | Invalid argument
142 | A successful prior call to function `XML_GetBuffer` is required
143 | Limit on input amplification factor (from DTD and entities) breached