Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

WBXML Error Codes
[WBXML Library]


Files

file  wbxml_errors.c
 WBXML Error Codes Handling.

file  wbxml_errors.h
 WBXML Error Codes Handling.


Typedefs

typedef enum WBXMLError_e WBXMLError
 The WBXML Parser Errors enumeration.


Enumerations

enum  WBXMLError_e {
  WBXML_OK = 0, WBXML_NOT_ENCODED, WBXML_ERROR_ATTR_TABLE_UNDEFINED, WBXML_ERROR_BAD_DATETIME,
  WBXML_ERROR_BAD_PARAMETER, WBXML_ERROR_INTERNAL, WBXML_ERROR_LANG_TABLE_UNDEFINED, WBXML_ERROR_NOT_ENOUGH_MEMORY,
  WBXML_ERROR_NOT_IMPLEMENTED, WBXML_ERROR_TAG_TABLE_UNDEFINED, WBXML_ERROR_B64_ENC, WBXML_ERROR_ATTR_VALUE_TABLE_UNDEFINED,
  WBXML_ERROR_BAD_LITERAL_INDEX, WBXML_ERROR_BAD_NULL_TERMINATED_STRING_IN_STRING_TABLE, WBXML_ERROR_BAD_OPAQUE_LENGTH, WBXML_ERROR_EMPTY_WBXML,
  WBXML_ERROR_END_OF_BUFFER, WBXML_ERROR_ENTITY_CODE_OVERFLOW, WBXML_ERROR_EXT_VALUE_TABLE_UNDEFINED, WBXML_ERROR_INVALID_STRTBL_INDEX,
  WBXML_ERROR_LITERAL_NOT_NULL_TERMINATED_IN_STRING_TABLE, WBXML_ERROR_NOT_NULL_TERMINATED_INLINE_STRING, WBXML_ERROR_NULL_PARSER, WBXML_ERROR_NULL_STRING_TABLE,
  WBXML_ERROR_STRING_EXPECTED, WBXML_ERROR_STRTBL_LENGTH, WBXML_ERROR_UNKNOWN_ATTR, WBXML_ERROR_UNKNOWN_ATTR_VALUE,
  WBXML_ERROR_UNKNOWN_EXTENSION_TOKEN, WBXML_ERROR_UNKNOWN_EXTENSION_VALUE, WBXML_ERROR_UNKNOWN_PUBLIC_ID, WBXML_ERROR_UNKNOWN_TAG,
  WBXML_ERROR_UNVALID_MBUINT32, WBXML_ERROR_ENCODER_APPEND_DATA, WBXML_ERROR_STRTBL_DISABLED, WBXML_ERROR_UNKNOWN_XML_LANGUAGE,
  WBXML_ERROR_XML_NODE_NOT_ALLOWED, WBXML_ERROR_XML_NULL_ATTR_NAME, WBXML_ERROR_XML_PARSING_FAILED, WBXML_ERROR_NO_XMLPARSER
}
 The WBXML Parser Errors enumeration. More...


Functions

const unsigned char * wbxml_errors_string (WBXMLError error_code)
 Return a String describing an Error Code.


Typedef Documentation

typedef enum WBXMLError_e WBXMLError
 

The WBXML Parser Errors enumeration.

Referenced by main(), wbxml_conv_wbxml2xml(), wbxml_conv_xml2wbxml(), wbxml_encoder_encode_to_wbxml(), wbxml_encoder_encode_to_xml(), wbxml_errors_string(), wbxml_parser_parse(), wbxml_tree_clb_xml_end_element(), wbxml_tree_from_wbxml(), and wbxml_tree_from_xml().


Enumeration Type Documentation

enum WBXMLError_e
 

The WBXML Parser Errors enumeration.

Enumeration values:
WBXML_OK  No Error
WBXML_NOT_ENCODED  Not an error; just a special internal return code
WBXML_ERROR_ATTR_TABLE_UNDEFINED 
WBXML_ERROR_BAD_DATETIME 
WBXML_ERROR_BAD_PARAMETER 
WBXML_ERROR_INTERNAL 
WBXML_ERROR_LANG_TABLE_UNDEFINED 
WBXML_ERROR_NOT_ENOUGH_MEMORY 
WBXML_ERROR_NOT_IMPLEMENTED 
WBXML_ERROR_TAG_TABLE_UNDEFINED 
WBXML_ERROR_B64_ENC 
WBXML_ERROR_ATTR_VALUE_TABLE_UNDEFINED 
WBXML_ERROR_BAD_LITERAL_INDEX 
WBXML_ERROR_BAD_NULL_TERMINATED_STRING_IN_STRING_TABLE 
WBXML_ERROR_BAD_OPAQUE_LENGTH 
WBXML_ERROR_EMPTY_WBXML 
WBXML_ERROR_END_OF_BUFFER 
WBXML_ERROR_ENTITY_CODE_OVERFLOW 
WBXML_ERROR_EXT_VALUE_TABLE_UNDEFINED 
WBXML_ERROR_INVALID_STRTBL_INDEX 
WBXML_ERROR_LITERAL_NOT_NULL_TERMINATED_IN_STRING_TABLE 
WBXML_ERROR_NOT_NULL_TERMINATED_INLINE_STRING 
WBXML_ERROR_NULL_PARSER 
WBXML_ERROR_NULL_STRING_TABLE 
WBXML_ERROR_STRING_EXPECTED 
WBXML_ERROR_STRTBL_LENGTH 
WBXML_ERROR_UNKNOWN_ATTR 
WBXML_ERROR_UNKNOWN_ATTR_VALUE 
WBXML_ERROR_UNKNOWN_EXTENSION_TOKEN 
WBXML_ERROR_UNKNOWN_EXTENSION_VALUE 
WBXML_ERROR_UNKNOWN_PUBLIC_ID 
WBXML_ERROR_UNKNOWN_TAG 
WBXML_ERROR_UNVALID_MBUINT32 
WBXML_ERROR_ENCODER_APPEND_DATA 
WBXML_ERROR_STRTBL_DISABLED 
WBXML_ERROR_UNKNOWN_XML_LANGUAGE 
WBXML_ERROR_XML_NODE_NOT_ALLOWED 
WBXML_ERROR_XML_NULL_ATTR_NAME 
WBXML_ERROR_XML_PARSING_FAILED 
WBXML_ERROR_NO_XMLPARSER 

Definition at line 49 of file wbxml_errors.h.


Function Documentation

const unsigned char* wbxml_errors_string WBXMLError    error_code
 

Return a String describing an Error Code.

Parameters:
error_code WBXML error code
Returns:
The error description

Definition at line 112 of file wbxml_errors.c.

References WBXMLErrorCodeItem_s::code, error_table, ERROR_TABLE_SIZE, WBXMLErrorCodeItem_s::string, WB_ULONG, WB_UTINY, and WBXMLError.

Referenced by main(), wbxml_conv_wbxml2xml(), wbxml_conv_xml2wbxml(), and wbxml_tree_from_wbxml().


Generated on Mon Nov 24 20:09:48 2003 for WBXML Library by doxygen1.3-rc1