- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# guththila_error.h

    00001
    00002 /*
    00003  * Licensed to the Apache Software Foundation (ASF) under one or more
    00004  * contributor license agreements.  See the NOTICE file distributed with
    00005  * this work for additional information regarding copyright ownership.
    00006  * The ASF licenses this file to You under the Apache License, Version 2.0
    00007  * (the "License"); you may not use this file except in compliance with
    00008  * the License.  You may obtain a copy of the License at
    00009  *
    00010  *      http://www.apache.org/licenses/LICENSE-2.0
    00011  *
    00012  * Unless required by applicable law or agreed to in writing, software
    00013  * distributed under the License is distributed on an "AS IS" BASIS,
    00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00015  * See the License for the specific language governing permissions and
    00016  * limitations under the License.
    00017  */
    00018 #include <guththila_defines.h>
    00019
    00020 #ifndef GUTHTHILA_ERROR_H
    00021 #define GUTHTHILA_ERROR_H
    00022 EXTERN_C_START() typedef enum guththila_error_l
    00023 {
    00024     GUTHTHILA_VALIDITY_ERROR,
    00025     GUTHTHILA_VALIDITY_WARNING,
    00026     GUTHTHILA_PARSER_ERROR,
    00027     GUTHTHILA_PARSER_WARNING
    00028 } guththila_error_level;
    00029 enum guththila_error_codes
    00030 {
    00031     GUTHTHILA_ERROR_NONE =
    00032         0, GUTHTHILA_ERROR_NO_MEMORY,
    00033     GUTHTHILA_ERROR_INVALID_NULL_PARAMETER,
    00034     GUTHTHILA_ERROR_INVALID_ITERATOR_STATE,
    00035     GUTHTHILA_ERROR_INVALID_NODE_TYPE,
    00036     GUTHTHILA_STREAM_WRITER_ERROR_NOT_IN_GUTHTHILA_START_ELEMENT,
    00037     GUTHTHILA_STREAM_WRITER_ERROR_WRITING_TO_STREAM,
    00038     GUTHTHILA_STREAM_WRITER_ERROR_STREAM_STRUCT_NULL,
    00039     GUTHTHILA_STREAM_WRITER_ERROR_LOCAL_NAME_NULL,
    00040     GUTHTHILA_STREAM_WRITER_ERROR_GUTHTHILA_namespace_t_NULL,
    00041     GUTHTHILA_STREAM_WRITER_ERROR_PREFIX_NULL,
    00042     GUTHTHILA_STREAM_WRITER_ERROR_GUTHTHILA_namespace_t_NOT_DECLARED,
    00043     GUTHTHILA_STREAM_WRITER_ERROR_GUTHTHILA_element_t_GUTHTHILA_stack_t_EMPTY,
    00044     GUTHTHILA_STREAM_WRITER_ERROR_ILLEGAL_STATE,
    00045     GUTHTHILA_STREAM_WRITER_ERROR_GUTHTHILA_COMMENT_NULL,
    00046     GUTHTHILA_STREAM_WRITER_ERROR_ILLEGAL_GUTHTHILA_COMMENT,
    00047     GUTHTHILA_STREAM_WRITER_ERROR_PROCESSING_INSTRUCTION_TARGET_NULL,
    00048     GUTHTHILA_STREAM_WRITER_ERROR_CDATA_NULL,
    00049     GUTHTHILA_STREAM_WRITER_ERROR_ILLEGAL_CDATA,
    00050     GUTHTHILA_STREAM_WRITER_ERROR_DTD_NULL,
    00051     GUTHTHILA_STREAM_WRITER_ERROR_ENTITY_REF_NULL,
    00052     GUTHTHILA_STREAM_WRITER_ERROR_ILLEGAL_XML_VERSION,
    00053     GUTHTHILA_STREAM_WRITER_ERROR_TEXT_NULL,
    00054     GUTHTHILA_STREAM_WRITER_ERROR_ILLEGAL_PREFIX,
    00055     GUTHTHILA_STREAM_WRITER_ERROR_OUT_OF_MEMORY,
    00056     GUTHTHILA_STREAM_WRITER_ERROR_FILE_NOT_FOUND,
    00057     GUTHTHILA_STREAM_READER_ERROR_OUT_OF_MEMORY,
    00058     GUTHTHILA_ERROR_INVALID_ENCODING_DECLARATION,
    00059     GUTHTHILA_ERROR_UNEXPECTED_UTF16_EOF,
    00060     GUTHTHILA_ERROR_UNEXPECTED_EOF,
    00061     GUTHTHILA_ERROR_PROCESS_EQUAL,
    00062     GUTHTHILA_ERROR_INCORRECT_VERSION_INFO,
    00063     GUTHTHILA_ERROR_INCORRECT_XML_DECLARATION,
    00064     GUTHTHILA_ERROR_VERSION_INFO_NOT_FOUND,
    00065     GUTHTHILA_ERROR_ENCODING_DECLARATION_ERROR,
    00066     GUTHTHILA_ERROR_STANDALONE_ERROR_IN_YES,
    00067     GUTHTHILA_ERROR_STANDALONE_ERROR_IN_NO,
    00068     GUTHTHILA_ERROR_STANDALONE_ERROR_YES_OR_NO_NOT_AVAILABLE,
    00069     GUTHTHILA_ERROR_MISSING_GREATER_SIGN_IN_XML_DECLARATION,
    00070     GUTHTHILA_ERROR_INVALID_NAME_STARTING_CHARACTER,
    00071     GUTHTHILA_ERROR_QUOTES_NOT_FOUND_BEFORE_ATTRIBUTE_VALUE,
    00072     GUTHTHILA_ERROR_EMPTY_ELEMENT_NOT_CLOSED,
    00073     GUTHTHILA_ERROR_END_TAG_NOT_CLOSED,
    00074     GUTHTHILA_ERROR_MORE_HYPENS_OCCURED_IN_COMMENT,
    00075     GUTHTHILA_ERROR_TOKENIZE_ERROR,
    00076     GUTHTHILA_ERROR_INVALID_TOKEN_TYPE,
    00077     GUTHTHILA_ERROR_NULL_ATTRIBUTE_NAME,
    00078     GUTHTHILA_ERROR_NULL_ATTRIBUTE_VALUE,
    00079     GUTHTHILA_ERROR_NULL_ATTRIBUTE_PREFIX,
    00080     GUTHTHILA_ERROR_REQUESTED_NUMBER_GREATER_THAN_STACK_SIZE,
    00081     GUTHTHILA_WRITER_ERROR_EMPTY_ARGUMENTS,
    00082     GUTHTHILA_WRITER_ERROR_NON_EXSISTING_PREFIX,
    00083     GUTHTHILA_WRITER_ERROR_EMPTY_WRITER,
    00084     GUTHTHILA_WRITER_ERROR_NON_MATCHING_ELEMENTS,
    00085     GUTHTHILA_WRITER_ERROR_INVALID_BUFFER,
    00086     GUTHTHILA_WRITER_ERROR_INVALID_CHAR_IN_NAME,
    00087     GUTHTHILA_WRITER_ERROR_XML_STRING_IN_NAME,
    00088     GUTHTHILA_WRITER_ERROR_EXCESS_HYPENS_IN_COMMENT,
    00089     GUTHTHILA_WRITER_ERROR_INVALID_CHAR_IN_ATTRIBUTE,
    00090     GUTHTHILA_WRITER_ERROR_NON_EXSISTING_URI,
    00091     GUTHTHILA_WRITER_ERROR_SAME_ATTRIBUTE_REPEAT,
    00092     GUTHTHILA_ERROR_ATTRIBUTE_FREE
    00093 };
    00094 EXTERN_C_END()
    00095 #endif  /*  */
    00096