Share via


Error Codes (Compact 7)

3/12/2014

This topic presents the XmlLite error codes and their associated symbolic codes and descriptions.

Symbol Hexadecimal Code Meaning

MX_E_INPUTEND

0xC00CEE01

Unexpected end of input

MX_E_ENCODING

0xC00CEE02

Unrecognized encoding

MX_E_ENCODINGSWITCH

0xC00CEE03

Unable to switch the encoding

MX_E_ENCODINGSIGNATURE

0xC00CEE04

Unrecognized input signature

WC_E_WHITESPACE

0xC00CEE21

White space expected

WC_E_SEMICOLON

0xC00CEE22

Semicolon expected

WC_E_GREATERTHAN

0xC00CEE23

'>' expected

WC_E_QUOTE

0xC00CEE24

Quote expected

WC_E_EQUAL

0xC00CEE25

Equal expected

WC_E_LESSTHAN

0xC00CEE26

Well-formedness constraint: no '<' in attribute value

WC_E_HEXDIGIT

0xC00CEE27

Hexadecimal digit expected

WC_E_DIGIT

0xC00CEE28

Decimal digit expected

WC_E_LEFTBRACKET

0xC00CEE29

'[' expected

WC_E_LEFTPAREN

0xC00CEE2A

'(' expected

WC_E_XMLCHARACTER

0xC00CEE2B

Illegal xml character

C_E_NAMECHARACTER

0xC00CEE2C

Illegal name character

WC_E_SYNTAX

0xC00CEE2D

Incorrect document syntax

WC_E_CDSECT

0xC00CEE2E

Incorrect CDATA section syntax

WC_E_COMMENT

0xC00CEE2F

Incorrect comment syntax

WC_E_CONDSECT

0xC00CEE30

Incorrect conditional section syntax

WC_E_DECLATTLIST

0xC00CEE31

Incorrect ATTLIST declaration syntax

WC_E_DECLDOCTYPE

0xC00CEE32

Incorrect DOCTYPE declaration syntax

WC_E_DECLELEMENT

0xC00CEE33

Incorrect ELEMENT declaration syntax

WC_E_DECLENTITY

0xC00CEE34

Incorrect ENTITY declaration syntax

WC_E_DECLNOTATION

0xC00CEE35

Incorrect NOTATION declaration syntax

WC_E_NDATA

0xC00CEE36

NDATA expected

WC_E_PUBLIC

0xC00CEE37

PUBLIC expected

WC_E_SYSTEM

0xC00CEE38

SYSTEM expected

WC_E_NAME

0xC00CEE39

Name expected

WC_E_ROOTELEMENT

0xC00CEE3A

One root element

WC_E_ELEMENTMATCH

0xC00CEE3B

Well-formedness constraint: element type match

WC_E_UNIQUEATTRIBUTE

0xC00CEE3C

Well-formedness constraint: unique attribute spec

WC_E_TEXTXMLDECL

0xC00CEE3D

Text/xmldecl not at the beginning of input

WC_E_LEADINGXML

0xC00CEE3E

Leading "xml"

WC_E_TEXTDECL

0xC00CEE3F

Incorrect text declaration syntax

WC_E_XMLDECL

0xC00CEE40

Incorrect xml declaration syntax

WC_E_ENCNAME

0xC00CEE41

Incorrect encoding name syntax

WC_E_PUBLICID

0xC00CEE42

Incorrect public identifier syntax

WC_E_PESINTERNALSUBSET

0xC00CEE43

Well-formedness constraint: pes in internal subset

WC_E_PESBETWEENDECLS

0xC00CEE44

Well-formedness constraint: pes between declarations

WC_E_NORECURSION

0xC00CEE45

Well-formedness constraint: no recursion

WC_E_ENTITYCONTENT

0xC00CEE46

Entity content not well formed

WC_E_UNDECLAREDENTITY

0xC00CEE47

Well-formedness constraint: undeclared entity

WC_E_PARSEDENTITY

0xC00CEE48

Well-formedness constraint: parsed entity

WC_E_NOEXTERNALENTITYREF

0xC00CEE49

Well-formedness constraint: no external entity references

WC_E_PI

0xC00CEE4A

Incorrect processing instruction syntax

WC_E_SYSTEMID

0xC00CEE4B

Incorrect system identifier syntax

WC_E_QUESTIONMARK

0xC00CEE4C

'?' expected

WC_E_CDSECTEND

0xC00CEE4D

No ']]>' in element content

WC_E_MOREDATA

0xC00CEE4E

Not all chunks of value have been read

WC_E_DTDPROHIBITED

0xC00CEE4F

DTD was found but is prohibited

WC_E_INVALIDXMLSPACE

0xC00CEE50

xml:space attribute that has invalid value

NC_E_QNAMECHARACTER

0xC00CEE61

Illegal qualified name character

NC_E_QNAMECOLON

0xC00CEE62

Multiple colons in qualified name

NC_E_NAMECOLON

0xC00CEE63

Colon in name

NC_E_DECLAREDPREFIX

0xC00CEE64

Declared prefix

NC_E_UNDECLAREDPREFIX

0xC00CEE65

Undeclared prefix

NC_E_EMPTYURI

0xC00CEE66

Non default namespace with empty uri

NC_E_XMLPREFIXRESERVED

0xC00CEE67

"xml" prefix is reserved and must have the http://www.w3.org/XML/1998/namespace URI

NC_E_XMLNSPREFIXRESERVED

0xC00CEE68

"xmlns" prefix is reserved for use by XML

NC_E_XMLURIRESERVED

0xC00CEE69

xml namespace URI (http://www.w3.org/XML/1998/namespace) must be assigned only to prefix "xml"

NC_E_XMLNSURIRESERVED

0xC00CEE6A

xmlns namespace URI (http://www.w3.org/2000/xmlns/) is reserved.

SC_E_MAXELEMENTDEPTH

0xc00cee81

Element depth exceeds limit in XmlReaderProperty_MaxElementDepth

SC_E_MAXENTITYEXPANSION

0xc00cee82

Entity expansion exceeds limit in XmlReaderProperty_MaxEntityExpansion

WR_E_NONWHITESPACE

0xC00CEF01

Writer: specified string is not white space

WR_E_NSPREFIXDECLARED

0xC00CEF02

Writer: namespace prefix is already declared with a different namespace

WR_E_NSPREFIXWITHEMPTYNSURI

0xC00CEF03

Writer: it is not allowed to declare a namespace prefix with empty URI (for example xmlns:p="")

WR_E_DUPLICATEATTRIBUTE

0xC00CEF04

Writer: duplicate attribute

WR_E_XMLNSPREFIXDECLARATION

0xC00CEF05

Writer: cannot redefine the xmlns prefix

WR_E_XMLPREFIXDECLARATION

0xC00CEF07

Writer: xml prefix must have the http://www.w3.org/XML/1998/namespace URI

WR_E_XMLURIDECLARATION

0xC00CEF07

Writer: xml namespace URI (http://www.w3.org/XML/1998/namespace) must be assigned only to prefix "xml"

WR_E_XMLNSURIDECLARATION

0xC00CEF08

Writer: xmlns namespace URI (http://www.w3.org/2000/xmlns/) is reserved

WR_E_NAMESPACEUNDECLARED

0xC00CEF09

Writer: namespace is not declared

WR_E_INVALIDXMLSPACE

0xC00CEF0A

Writer: invalid value of xml:space attribute (allowed values are "default" and "preserve")

WR_E_INVALIDACTION

0xC00CEF0B

Writer: performing the requested action would result in invalid XML document

WR_E_INVALIDSURROGATEPAIR

0xC00CEF0C

Writer: input contains invalid or incomplete surrogate pair

XML_E_INVALID_DECIMAL

0xC00CE01D

Character in character entity is not a decimal digit as was expected

XML_E_INVALID_HEXIDECIMAL

0xC00CE01E

Character in character entity is not a hexadecimal digit as was expected

XML_E_INVALID_UNICODE

0xC00CE01F

Character entity has invalid Unicode value

See Also

Reference

XmlLite Reference
Functions
Interfaces
Enumerated Types