| Value | Meaning |
|---|---|
| BAD_UTF80 | text being parsed was not valid UTF-8 |
| EMPTY1 | document contained nothing, or only whitespace |
| PARSE2 | document was ill-formed |
| UNKNOWN_ELEMENT3 | error should be set by GMarkupParser functions; element wasn't known |
| UNKNOWN_ATTRIBUTE4 | error should be set by GMarkupParser functions; attribute wasn't known |
| INVALID_CONTENT5 | error should be set by GMarkupParser functions; content was invalid |
| MISSING_ATTRIBUTE6 | error should be set by GMarkupParser functions; a required attribute was missing |
Error codes returned by markup parsing.