Exception: LibXML::XML::Error

Inherits:
StandardError
  • Object
show all
Defined in:
ext/libxml/ruby_xml_error.c,
lib/libxml/error.rb,
ext/libxml/ruby_xml_error.c

Overview

The XML::Error class exposes libxml errors as standard Ruby exceptions. When appropriate, libxml-ruby will raise an exception - for example, when parsing a non-well formed xml document.

By default, warnings, errors and fatal errors that libxml generates are printed to STDERR via the XML::Error::VERBOSE_HANDLER proc.

To disable this output you can install the quiet handler:

XML::Error.set_handler(&XML::Error::QUIET_HANDLER)

Get the current handler:

proc = XML::Error.get_handler

Install your own handler:

XML::Error.set_handler do |error|
  puts error.to_s
end

Or remove all handlers:

XML::Error.reset_handler

Constant Summary collapse

DOMAIN_CODE_MAP =

Create mapping from domain constant value to keys

[:NO_ERROR, :PARSER, :TREE, :NAMESPACE, :DTD, :HTML, :MEMORY,
                   :OUTPUT, :IO, :FTP, :HTTP, :XINCLUDE, :XPATH, :XPOINTER, :REGEXP,
                   :DATATYPE, :SCHEMASP, :SCHEMASV, :RELAXNGP, :RELAXNGV, :CATALOG,
                   :C14N, :XSLT, :VALID, :CHECK, :WRITER, :MODULE, :I18N, :SCHEMATRONV].inject(Hash.new) do |hash, code|
  if const_defined?(code)
    hash[const_get(code)] = code.to_s
  end
  hash
end
ERROR_CODE_MAP =

Create mapping from domain constant value to keys

Hash.new.tap do |map|
  (constants -
   DOMAIN_CODE_MAP.values - #Domains
   [:NONE, :WARNING, :ERROR, :FATAL] # Levels
   ).each do |code|
    map[const_get(code)] = code.to_s
  end
end
VERBOSE_HANDLER =

Verbose error handler

lambda do |error|
  STDERR << error.to_s << "\n"
  STDERR.flush
end
QUIET_HANDLER =

Quiet error handler

lambda do |error|
end
NONE =

xml error levels

INT2NUM(XML_ERR_NONE)
WARNING =
INT2NUM(XML_ERR_WARNING)
ERROR =
INT2NUM(XML_ERR_ERROR)
FATAL =
INT2NUM(XML_ERR_FATAL)
NO_ERROR =

xml error domains

INT2NUM(XML_FROM_NONE)
PARSER =
INT2NUM(XML_FROM_PARSER)
TREE =
INT2NUM(XML_FROM_TREE)
NAMESPACE =
INT2NUM(XML_FROM_NAMESPACE)
DTD =
INT2NUM(XML_FROM_DTD)
HTML =
INT2NUM(XML_FROM_HTML)
MEMORY =
INT2NUM(XML_FROM_MEMORY)
OUTPUT =
INT2NUM(XML_FROM_OUTPUT)
IO =
INT2NUM(XML_FROM_IO)
FTP =
INT2NUM(XML_FROM_FTP)
HTTP =
INT2NUM(XML_FROM_HTTP)
XINCLUDE =
INT2NUM(XML_FROM_XINCLUDE)
XPATH =
INT2NUM(XML_FROM_XPATH)
XPOINTER =
INT2NUM(XML_FROM_XPOINTER)
REGEXP =
INT2NUM(XML_FROM_REGEXP)
DATATYPE =
INT2NUM(XML_FROM_DATATYPE)
SCHEMASP =
INT2NUM(XML_FROM_SCHEMASP)
SCHEMASV =
INT2NUM(XML_FROM_SCHEMASV)
RELAXNGP =
INT2NUM(XML_FROM_RELAXNGP)
RELAXNGV =
INT2NUM(XML_FROM_RELAXNGV)
CATALOG =
INT2NUM(XML_FROM_CATALOG)
C14N =
INT2NUM(XML_FROM_C14N)
XSLT =
INT2NUM(XML_FROM_XSLT)
VALID =
INT2NUM(XML_FROM_VALID)
CHECK =
INT2NUM(XML_FROM_CHECK)
WRITER =
INT2NUM(XML_FROM_WRITER)
MODULE =
INT2NUM(XML_FROM_MODULE)
I18N =
INT2NUM(XML_FROM_I18N)
SCHEMATRONV =
INT2NUM(XML_FROM_SCHEMATRONV)
OK =

errors

INT2NUM(XML_ERR_OK)
INTERNAL_ERROR =
INT2NUM(XML_ERR_INTERNAL_ERROR)
NO_MEMORY =
INT2NUM(XML_ERR_NO_MEMORY)
DOCUMENT_START =
INT2NUM(XML_ERR_DOCUMENT_START)
DOCUMENT_EMPTY =
INT2NUM(XML_ERR_DOCUMENT_EMPTY)
DOCUMENT_END =
INT2NUM(XML_ERR_DOCUMENT_END)
INVALID_HEX_CHARREF =
INT2NUM(XML_ERR_INVALID_HEX_CHARREF)
INVALID_DEC_CHARREF =
INT2NUM(XML_ERR_INVALID_DEC_CHARREF)
INVALID_CHARREF =
INT2NUM(XML_ERR_INVALID_CHARREF)
INVALID_CHAR =
INT2NUM(XML_ERR_INVALID_CHAR)
CHARREF_AT_EOF =
INT2NUM(XML_ERR_CHARREF_AT_EOF)
CHARREF_IN_PROLOG =
INT2NUM(XML_ERR_CHARREF_IN_PROLOG)
CHARREF_IN_EPILOG =
INT2NUM(XML_ERR_CHARREF_IN_EPILOG)
CHARREF_IN_DTD =
INT2NUM(XML_ERR_CHARREF_IN_DTD)
ENTITYREF_AT_EOF =
INT2NUM(XML_ERR_ENTITYREF_AT_EOF)
ENTITYREF_IN_PROLOG =
INT2NUM(XML_ERR_ENTITYREF_IN_PROLOG)
ENTITYREF_IN_EPILOG =
INT2NUM(XML_ERR_ENTITYREF_IN_EPILOG)
ENTITYREF_IN_DTD =
INT2NUM(XML_ERR_ENTITYREF_IN_DTD)
PEREF_AT_EOF =
INT2NUM(XML_ERR_PEREF_AT_EOF)
PEREF_IN_PROLOG =
INT2NUM(XML_ERR_PEREF_IN_PROLOG)
PEREF_IN_EPILOG =
INT2NUM(XML_ERR_PEREF_IN_EPILOG)
PEREF_IN_INT_SUBSET =
INT2NUM(XML_ERR_PEREF_IN_INT_SUBSET)
ENTITYREF_NO_NAME =
INT2NUM(XML_ERR_ENTITYREF_NO_NAME)
ENTITYREF_SEMICOL_MISSING =
INT2NUM(XML_ERR_ENTITYREF_SEMICOL_MISSING)
PEREF_NO_NAME =
INT2NUM(XML_ERR_PEREF_NO_NAME)
PEREF_SEMICOL_MISSING =
INT2NUM(XML_ERR_PEREF_SEMICOL_MISSING)
UNDECLARED_ENTITY =
INT2NUM(XML_ERR_UNDECLARED_ENTITY)
XML_WAR_UNDECLARED_ENTITY =
INT2NUM(XML_WAR_UNDECLARED_ENTITY)
UNPARSED_ENTITY =
INT2NUM(XML_ERR_UNPARSED_ENTITY)
ENTITY_IS_EXTERNAL =
INT2NUM(XML_ERR_ENTITY_IS_EXTERNAL)
ENTITY_IS_PARAMETER =
INT2NUM(XML_ERR_ENTITY_IS_PARAMETER)
UNKNOWN_ENCODING =
INT2NUM(XML_ERR_UNKNOWN_ENCODING)
UNSUPPORTED_ENCODING =
INT2NUM(XML_ERR_UNSUPPORTED_ENCODING)
STRING_NOT_STARTED =
INT2NUM(XML_ERR_STRING_NOT_STARTED)
STRING_NOT_CLOSED =
INT2NUM(XML_ERR_STRING_NOT_CLOSED)
NS_DECL_ERROR =
INT2NUM(XML_ERR_NS_DECL_ERROR)
ENTITY_NOT_STARTED =
INT2NUM(XML_ERR_ENTITY_NOT_STARTED)
ENTITY_NOT_FINISHED =
INT2NUM(XML_ERR_ENTITY_NOT_FINISHED)
LT_IN_ATTRIBUTE =
INT2NUM(XML_ERR_LT_IN_ATTRIBUTE)
ATTRIBUTE_NOT_STARTED =
INT2NUM(XML_ERR_ATTRIBUTE_NOT_STARTED)
ATTRIBUTE_NOT_FINISHED =
INT2NUM(XML_ERR_ATTRIBUTE_NOT_FINISHED)
ATTRIBUTE_WITHOUT_VALUE =
INT2NUM(XML_ERR_ATTRIBUTE_WITHOUT_VALUE)
ATTRIBUTE_REDEFINED =
INT2NUM(XML_ERR_ATTRIBUTE_REDEFINED)
LITERAL_NOT_STARTED =
INT2NUM(XML_ERR_LITERAL_NOT_STARTED)
LITERAL_NOT_FINISHED =
INT2NUM(XML_ERR_LITERAL_NOT_FINISHED)
COMMENT_NOT_FINISHED =
INT2NUM(XML_ERR_COMMENT_NOT_FINISHED)
PI_NOT_STARTED =
INT2NUM(XML_ERR_PI_NOT_STARTED)
PI_NOT_FINISHED =
INT2NUM(XML_ERR_PI_NOT_FINISHED)
NOTATION_NOT_STARTED =
INT2NUM(XML_ERR_NOTATION_NOT_STARTED)
NOTATION_NOT_FINISHED =
INT2NUM(XML_ERR_NOTATION_NOT_FINISHED)
ATTLIST_NOT_STARTED =
INT2NUM(XML_ERR_ATTLIST_NOT_STARTED)
ATTLIST_NOT_FINISHED =
INT2NUM(XML_ERR_ATTLIST_NOT_FINISHED)
MIXED_NOT_STARTED =
INT2NUM(XML_ERR_MIXED_NOT_STARTED)
MIXED_NOT_FINISHED =
INT2NUM(XML_ERR_MIXED_NOT_FINISHED)
ELEMCONTENT_NOT_STARTED =
INT2NUM(XML_ERR_ELEMCONTENT_NOT_STARTED)
ELEMCONTENT_NOT_FINISHED =
INT2NUM(XML_ERR_ELEMCONTENT_NOT_FINISHED)
XMLDECL_NOT_STARTED =
INT2NUM(XML_ERR_XMLDECL_NOT_STARTED)
XMLDECL_NOT_FINISHED =
INT2NUM(XML_ERR_XMLDECL_NOT_FINISHED)
CONDSEC_NOT_STARTED =
INT2NUM(XML_ERR_CONDSEC_NOT_STARTED)
CONDSEC_NOT_FINISHED =
INT2NUM(XML_ERR_CONDSEC_NOT_FINISHED)
EXT_SUBSET_NOT_FINISHED =
INT2NUM(XML_ERR_EXT_SUBSET_NOT_FINISHED)
DOCTYPE_NOT_FINISHED =
INT2NUM(XML_ERR_DOCTYPE_NOT_FINISHED)
MISPLACED_CDATA_END =
INT2NUM(XML_ERR_MISPLACED_CDATA_END)
CDATA_NOT_FINISHED =
INT2NUM(XML_ERR_CDATA_NOT_FINISHED)
RESERVED_XML_NAME =
INT2NUM(XML_ERR_RESERVED_XML_NAME)
SPACE_REQUIRED =
INT2NUM(XML_ERR_SPACE_REQUIRED)
SEPARATOR_REQUIRED =
INT2NUM(XML_ERR_SEPARATOR_REQUIRED)
NMTOKEN_REQUIRED =
INT2NUM(XML_ERR_NMTOKEN_REQUIRED)
NAME_REQUIRED =
INT2NUM(XML_ERR_NAME_REQUIRED)
PCDATA_REQUIRED =
INT2NUM(XML_ERR_PCDATA_REQUIRED)
URI_REQUIRED =
INT2NUM(XML_ERR_URI_REQUIRED)
PUBID_REQUIRED =
INT2NUM(XML_ERR_PUBID_REQUIRED)
LT_REQUIRED =
INT2NUM(XML_ERR_LT_REQUIRED)
GT_REQUIRED =
INT2NUM(XML_ERR_GT_REQUIRED)
LTSLASH_REQUIRED =
INT2NUM(XML_ERR_LTSLASH_REQUIRED)
EQUAL_REQUIRED =
INT2NUM(XML_ERR_EQUAL_REQUIRED)
TAG_NAME_MISMATCH =
INT2NUM(XML_ERR_TAG_NAME_MISMATCH)
TAG_NOT_FINISHED =
INT2NUM(XML_ERR_TAG_NOT_FINISHED)
STANDALONE_VALUE =
INT2NUM(XML_ERR_STANDALONE_VALUE)
ENCODING_NAME =
INT2NUM(XML_ERR_ENCODING_NAME)
HYPHEN_IN_COMMENT =
INT2NUM(XML_ERR_HYPHEN_IN_COMMENT)
INVALID_ENCODING =
INT2NUM(XML_ERR_INVALID_ENCODING)
EXT_ENTITY_STANDALONE =
INT2NUM(XML_ERR_EXT_ENTITY_STANDALONE)
CONDSEC_INVALID =
INT2NUM(XML_ERR_CONDSEC_INVALID)
VALUE_REQUIRED =
INT2NUM(XML_ERR_VALUE_REQUIRED)
NOT_WELL_BALANCED =
INT2NUM(XML_ERR_NOT_WELL_BALANCED)
EXTRA_CONTENT =
INT2NUM(XML_ERR_EXTRA_CONTENT)
ENTITY_CHAR_ERROR =
INT2NUM(XML_ERR_ENTITY_CHAR_ERROR)
ENTITY_PE_INTERNAL =
INT2NUM(XML_ERR_ENTITY_PE_INTERNAL)
ENTITY_LOOP =
INT2NUM(XML_ERR_ENTITY_LOOP)
ENTITY_BOUNDARY =
INT2NUM(XML_ERR_ENTITY_BOUNDARY)
INVALID_URI =
INT2NUM(XML_ERR_INVALID_URI)
URI_FRAGMENT =
INT2NUM(XML_ERR_URI_FRAGMENT)
XML_WAR_CATALOG_PI =
INT2NUM(XML_WAR_CATALOG_PI)
NO_DTD =
INT2NUM(XML_ERR_NO_DTD)
CONDSEC_INVALID_KEYWORD =
INT2NUM(XML_ERR_CONDSEC_INVALID_KEYWORD)
VERSION_MISSING =
INT2NUM(XML_ERR_VERSION_MISSING)
XML_WAR_UNKNOWN_VERSION =
INT2NUM(XML_WAR_UNKNOWN_VERSION)
XML_WAR_LANG_VALUE =
INT2NUM(XML_WAR_LANG_VALUE)
XML_WAR_NS_URI =
INT2NUM(XML_WAR_NS_URI)
XML_WAR_NS_URI_RELATIVE =
INT2NUM(XML_WAR_NS_URI_RELATIVE)
MISSING_ENCODING =
INT2NUM(XML_ERR_MISSING_ENCODING)
XML_WAR_SPACE_VALUE =
INT2NUM(XML_WAR_SPACE_VALUE)
NOT_STANDALONE =
INT2NUM(XML_ERR_NOT_STANDALONE)
ENTITY_PROCESSING =
INT2NUM(XML_ERR_ENTITY_PROCESSING)
NOTATION_PROCESSING =
INT2NUM(XML_ERR_NOTATION_PROCESSING)
WAR_NS_COLUMN =
INT2NUM(XML_WAR_NS_COLUMN)
WAR_ENTITY_REDEFINED =
INT2NUM(XML_WAR_ENTITY_REDEFINED)
NS_ERR_XML_NAMESPACE =
INT2NUM(XML_NS_ERR_XML_NAMESPACE)
NS_ERR_UNDEFINED_NAMESPACE =
INT2NUM(XML_NS_ERR_UNDEFINED_NAMESPACE)
NS_ERR_QNAME =
INT2NUM(XML_NS_ERR_QNAME)
NS_ERR_ATTRIBUTE_REDEFINED =
INT2NUM(XML_NS_ERR_ATTRIBUTE_REDEFINED)
NS_ERR_EMPTY =
INT2NUM(XML_NS_ERR_EMPTY)
NS_ERR_COLON =
INT2NUM(XML_NS_ERR_COLON)
DTD_ATTRIBUTE_DEFAULT =
INT2NUM(XML_DTD_ATTRIBUTE_DEFAULT)
DTD_ATTRIBUTE_REDEFINED =
INT2NUM(XML_DTD_ATTRIBUTE_REDEFINED)
DTD_ATTRIBUTE_VALUE =
INT2NUM(XML_DTD_ATTRIBUTE_VALUE)
DTD_CONTENT_ERROR =
INT2NUM(XML_DTD_CONTENT_ERROR)
DTD_CONTENT_MODEL =
INT2NUM(XML_DTD_CONTENT_MODEL)
DTD_CONTENT_NOT_DETERMINIST =
INT2NUM(XML_DTD_CONTENT_NOT_DETERMINIST)
DTD_DIFFERENT_PREFIX =
INT2NUM(XML_DTD_DIFFERENT_PREFIX)
DTD_ELEM_DEFAULT_NAMESPACE =
INT2NUM(XML_DTD_ELEM_DEFAULT_NAMESPACE)
DTD_ELEM_NAMESPACE =
INT2NUM(XML_DTD_ELEM_NAMESPACE)
DTD_ELEM_REDEFINED =
INT2NUM(XML_DTD_ELEM_REDEFINED)
DTD_EMPTY_NOTATION =
INT2NUM(XML_DTD_EMPTY_NOTATION)
DTD_ENTITY_TYPE =
INT2NUM(XML_DTD_ENTITY_TYPE)
DTD_ID_FIXED =
INT2NUM(XML_DTD_ID_FIXED)
DTD_ID_REDEFINED =
INT2NUM(XML_DTD_ID_REDEFINED)
DTD_ID_SUBSET =
INT2NUM(XML_DTD_ID_SUBSET)
DTD_INVALID_CHILD =
INT2NUM(XML_DTD_INVALID_CHILD)
DTD_INVALID_DEFAULT =
INT2NUM(XML_DTD_INVALID_DEFAULT)
DTD_LOAD_ERROR =
INT2NUM(XML_DTD_LOAD_ERROR)
DTD_MISSING_ATTRIBUTE =
INT2NUM(XML_DTD_MISSING_ATTRIBUTE)
DTD_MIXED_CORRUPT =
INT2NUM(XML_DTD_MIXED_CORRUPT)
DTD_MULTIPLE_ID =
INT2NUM(XML_DTD_MULTIPLE_ID)
DTD_NO_DOC =
INT2NUM(XML_DTD_NO_DOC)
DTD_NO_DTD =
INT2NUM(XML_DTD_NO_DTD)
DTD_NO_ELEM_NAME =
INT2NUM(XML_DTD_NO_ELEM_NAME)
DTD_NO_PREFIX =
INT2NUM(XML_DTD_NO_PREFIX)
DTD_NO_ROOT =
INT2NUM(XML_DTD_NO_ROOT)
DTD_NOTATION_REDEFINED =
INT2NUM(XML_DTD_NOTATION_REDEFINED)
DTD_NOTATION_VALUE =
INT2NUM(XML_DTD_NOTATION_VALUE)
DTD_NOT_EMPTY =
INT2NUM(XML_DTD_NOT_EMPTY)
DTD_NOT_PCDATA =
INT2NUM(XML_DTD_NOT_PCDATA)
DTD_NOT_STANDALONE =
INT2NUM(XML_DTD_NOT_STANDALONE)
DTD_ROOT_NAME =
INT2NUM(XML_DTD_ROOT_NAME)
DTD_STANDALONE_WHITE_SPACE =
INT2NUM(XML_DTD_STANDALONE_WHITE_SPACE)
DTD_UNKNOWN_ATTRIBUTE =
INT2NUM(XML_DTD_UNKNOWN_ATTRIBUTE)
DTD_UNKNOWN_ELEM =
INT2NUM(XML_DTD_UNKNOWN_ELEM)
DTD_UNKNOWN_ENTITY =
INT2NUM(XML_DTD_UNKNOWN_ENTITY)
DTD_UNKNOWN_ID =
INT2NUM(XML_DTD_UNKNOWN_ID)
DTD_UNKNOWN_NOTATION =
INT2NUM(XML_DTD_UNKNOWN_NOTATION)
DTD_STANDALONE_DEFAULTED =
INT2NUM(XML_DTD_STANDALONE_DEFAULTED)
DTD_XMLID_VALUE =
INT2NUM(XML_DTD_XMLID_VALUE)
DTD_XMLID_TYPE =
INT2NUM(XML_DTD_XMLID_TYPE)
HTML_STRUCURE_ERROR =
INT2NUM(XML_HTML_STRUCURE_ERROR)
HTML_UNKNOWN_TAG =
INT2NUM(XML_HTML_UNKNOWN_TAG)
RNGP_ANYNAME_ATTR_ANCESTOR =
INT2NUM(XML_RNGP_ANYNAME_ATTR_ANCESTOR)
RNGP_ATTR_CONFLICT =
INT2NUM(XML_RNGP_ATTR_CONFLICT)
RNGP_ATTRIBUTE_CHILDREN =
INT2NUM(XML_RNGP_ATTRIBUTE_CHILDREN)
RNGP_ATTRIBUTE_CONTENT =
INT2NUM(XML_RNGP_ATTRIBUTE_CONTENT)
RNGP_ATTRIBUTE_EMPTY =
INT2NUM(XML_RNGP_ATTRIBUTE_EMPTY)
RNGP_ATTRIBUTE_NOOP =
INT2NUM(XML_RNGP_ATTRIBUTE_NOOP)
RNGP_CHOICE_CONTENT =
INT2NUM(XML_RNGP_CHOICE_CONTENT)
RNGP_CHOICE_EMPTY =
INT2NUM(XML_RNGP_CHOICE_EMPTY)
RNGP_CREATE_FAILURE =
INT2NUM(XML_RNGP_CREATE_FAILURE)
RNGP_DATA_CONTENT =
INT2NUM(XML_RNGP_DATA_CONTENT)
RNGP_DEF_CHOICE_AND_INTERLEAVE =
INT2NUM(XML_RNGP_DEF_CHOICE_AND_INTERLEAVE)
RNGP_DEFINE_CREATE_FAILED =
INT2NUM(XML_RNGP_DEFINE_CREATE_FAILED)
RNGP_DEFINE_EMPTY =
INT2NUM(XML_RNGP_DEFINE_EMPTY)
RNGP_DEFINE_MISSING =
INT2NUM(XML_RNGP_DEFINE_MISSING)
RNGP_DEFINE_NAME_MISSING =
INT2NUM(XML_RNGP_DEFINE_NAME_MISSING)
RNGP_ELEM_CONTENT_EMPTY =
INT2NUM(XML_RNGP_ELEM_CONTENT_EMPTY)
RNGP_ELEM_CONTENT_ERROR =
INT2NUM(XML_RNGP_ELEM_CONTENT_ERROR)
RNGP_ELEMENT_EMPTY =
INT2NUM(XML_RNGP_ELEMENT_EMPTY)
RNGP_ELEMENT_CONTENT =
INT2NUM(XML_RNGP_ELEMENT_CONTENT)
RNGP_ELEMENT_NAME =
INT2NUM(XML_RNGP_ELEMENT_NAME)
RNGP_ELEMENT_NO_CONTENT =
INT2NUM(XML_RNGP_ELEMENT_NO_CONTENT)
RNGP_ELEM_TEXT_CONFLICT =
INT2NUM(XML_RNGP_ELEM_TEXT_CONFLICT)
RNGP_EMPTY =
INT2NUM(XML_RNGP_EMPTY)
RNGP_EMPTY_CONSTRUCT =
INT2NUM(XML_RNGP_EMPTY_CONSTRUCT)
RNGP_EMPTY_CONTENT =
INT2NUM(XML_RNGP_EMPTY_CONTENT)
RNGP_EMPTY_NOT_EMPTY =
INT2NUM(XML_RNGP_EMPTY_NOT_EMPTY)
RNGP_ERROR_TYPE_LIB =
INT2NUM(XML_RNGP_ERROR_TYPE_LIB)
RNGP_EXCEPT_EMPTY =
INT2NUM(XML_RNGP_EXCEPT_EMPTY)
RNGP_EXCEPT_MISSING =
INT2NUM(XML_RNGP_EXCEPT_MISSING)
RNGP_EXCEPT_MULTIPLE =
INT2NUM(XML_RNGP_EXCEPT_MULTIPLE)
RNGP_EXCEPT_NO_CONTENT =
INT2NUM(XML_RNGP_EXCEPT_NO_CONTENT)
RNGP_EXTERNALREF_EMTPY =
INT2NUM(XML_RNGP_EXTERNALREF_EMTPY)
RNGP_EXTERNAL_REF_FAILURE =
INT2NUM(XML_RNGP_EXTERNAL_REF_FAILURE)
RNGP_EXTERNALREF_RECURSE =
INT2NUM(XML_RNGP_EXTERNALREF_RECURSE)
RNGP_FORBIDDEN_ATTRIBUTE =
INT2NUM(XML_RNGP_FORBIDDEN_ATTRIBUTE)
RNGP_FOREIGN_ELEMENT =
INT2NUM(XML_RNGP_FOREIGN_ELEMENT)
RNGP_GRAMMAR_CONTENT =
INT2NUM(XML_RNGP_GRAMMAR_CONTENT)
RNGP_GRAMMAR_EMPTY =
INT2NUM(XML_RNGP_GRAMMAR_EMPTY)
RNGP_GRAMMAR_MISSING =
INT2NUM(XML_RNGP_GRAMMAR_MISSING)
RNGP_GRAMMAR_NO_START =
INT2NUM(XML_RNGP_GRAMMAR_NO_START)
RNGP_GROUP_ATTR_CONFLICT =
INT2NUM(XML_RNGP_GROUP_ATTR_CONFLICT)
RNGP_HREF_ERROR =
INT2NUM(XML_RNGP_HREF_ERROR)
RNGP_INCLUDE_EMPTY =
INT2NUM(XML_RNGP_INCLUDE_EMPTY)
RNGP_INCLUDE_FAILURE =
INT2NUM(XML_RNGP_INCLUDE_FAILURE)
RNGP_INCLUDE_RECURSE =
INT2NUM(XML_RNGP_INCLUDE_RECURSE)
RNGP_INTERLEAVE_ADD =
INT2NUM(XML_RNGP_INTERLEAVE_ADD)
RNGP_INTERLEAVE_CREATE_FAILED =
INT2NUM(XML_RNGP_INTERLEAVE_CREATE_FAILED)
RNGP_INTERLEAVE_EMPTY =
INT2NUM(XML_RNGP_INTERLEAVE_EMPTY)
RNGP_INTERLEAVE_NO_CONTENT =
INT2NUM(XML_RNGP_INTERLEAVE_NO_CONTENT)
RNGP_INVALID_DEFINE_NAME =
INT2NUM(XML_RNGP_INVALID_DEFINE_NAME)
RNGP_INVALID_URI =
INT2NUM(XML_RNGP_INVALID_URI)
RNGP_INVALID_VALUE =
INT2NUM(XML_RNGP_INVALID_VALUE)
RNGP_MISSING_HREF =
INT2NUM(XML_RNGP_MISSING_HREF)
RNGP_NAME_MISSING =
INT2NUM(XML_RNGP_NAME_MISSING)
RNGP_NEED_COMBINE =
INT2NUM(XML_RNGP_NEED_COMBINE)
RNGP_NOTALLOWED_NOT_EMPTY =
INT2NUM(XML_RNGP_NOTALLOWED_NOT_EMPTY)
RNGP_NSNAME_ATTR_ANCESTOR =
INT2NUM(XML_RNGP_NSNAME_ATTR_ANCESTOR)
RNGP_NSNAME_NO_NS =
INT2NUM(XML_RNGP_NSNAME_NO_NS)
RNGP_PARAM_FORBIDDEN =
INT2NUM(XML_RNGP_PARAM_FORBIDDEN)
RNGP_PARAM_NAME_MISSING =
INT2NUM(XML_RNGP_PARAM_NAME_MISSING)
RNGP_PARENTREF_CREATE_FAILED =
INT2NUM(XML_RNGP_PARENTREF_CREATE_FAILED)
RNGP_PARENTREF_NAME_INVALID =
INT2NUM(XML_RNGP_PARENTREF_NAME_INVALID)
RNGP_PARENTREF_NO_NAME =
INT2NUM(XML_RNGP_PARENTREF_NO_NAME)
RNGP_PARENTREF_NO_PARENT =
INT2NUM(XML_RNGP_PARENTREF_NO_PARENT)
RNGP_PARENTREF_NOT_EMPTY =
INT2NUM(XML_RNGP_PARENTREF_NOT_EMPTY)
RNGP_PARSE_ERROR =
INT2NUM(XML_RNGP_PARSE_ERROR)
RNGP_PAT_ANYNAME_EXCEPT_ANYNAME =
INT2NUM(XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME)
RNGP_PAT_ATTR_ATTR =
INT2NUM(XML_RNGP_PAT_ATTR_ATTR)
RNGP_PAT_ATTR_ELEM =
INT2NUM(XML_RNGP_PAT_ATTR_ELEM)
RNGP_PAT_DATA_EXCEPT_ATTR =
INT2NUM(XML_RNGP_PAT_DATA_EXCEPT_ATTR)
RNGP_PAT_DATA_EXCEPT_ELEM =
INT2NUM(XML_RNGP_PAT_DATA_EXCEPT_ELEM)
RNGP_PAT_DATA_EXCEPT_EMPTY =
INT2NUM(XML_RNGP_PAT_DATA_EXCEPT_EMPTY)
RNGP_PAT_DATA_EXCEPT_GROUP =
INT2NUM(XML_RNGP_PAT_DATA_EXCEPT_GROUP)
RNGP_PAT_DATA_EXCEPT_INTERLEAVE =
INT2NUM(XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE)
RNGP_PAT_DATA_EXCEPT_LIST =
INT2NUM(XML_RNGP_PAT_DATA_EXCEPT_LIST)
RNGP_PAT_DATA_EXCEPT_ONEMORE =
INT2NUM(XML_RNGP_PAT_DATA_EXCEPT_ONEMORE)
RNGP_PAT_DATA_EXCEPT_REF =
INT2NUM(XML_RNGP_PAT_DATA_EXCEPT_REF)
RNGP_PAT_DATA_EXCEPT_TEXT =
INT2NUM(XML_RNGP_PAT_DATA_EXCEPT_TEXT)
RNGP_PAT_LIST_ATTR =
INT2NUM(XML_RNGP_PAT_LIST_ATTR)
RNGP_PAT_LIST_ELEM =
INT2NUM(XML_RNGP_PAT_LIST_ELEM)
RNGP_PAT_LIST_INTERLEAVE =
INT2NUM(XML_RNGP_PAT_LIST_INTERLEAVE)
RNGP_PAT_LIST_LIST =
INT2NUM(XML_RNGP_PAT_LIST_LIST)
RNGP_PAT_LIST_REF =
INT2NUM(XML_RNGP_PAT_LIST_REF)
RNGP_PAT_LIST_TEXT =
INT2NUM(XML_RNGP_PAT_LIST_TEXT)
RNGP_PAT_NSNAME_EXCEPT_ANYNAME =
INT2NUM(XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME)
RNGP_PAT_NSNAME_EXCEPT_NSNAME =
INT2NUM(XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME)
RNGP_PAT_ONEMORE_GROUP_ATTR =
INT2NUM(XML_RNGP_PAT_ONEMORE_GROUP_ATTR)
RNGP_PAT_ONEMORE_INTERLEAVE_ATTR =
INT2NUM(XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR)
RNGP_PAT_START_ATTR =
INT2NUM(XML_RNGP_PAT_START_ATTR)
RNGP_PAT_START_DATA =
INT2NUM(XML_RNGP_PAT_START_DATA)
RNGP_PAT_START_EMPTY =
INT2NUM(XML_RNGP_PAT_START_EMPTY)
RNGP_PAT_START_GROUP =
INT2NUM(XML_RNGP_PAT_START_GROUP)
RNGP_PAT_START_INTERLEAVE =
INT2NUM(XML_RNGP_PAT_START_INTERLEAVE)
RNGP_PAT_START_LIST =
INT2NUM(XML_RNGP_PAT_START_LIST)
RNGP_PAT_START_ONEMORE =
INT2NUM(XML_RNGP_PAT_START_ONEMORE)
RNGP_PAT_START_TEXT =
INT2NUM(XML_RNGP_PAT_START_TEXT)
RNGP_PAT_START_VALUE =
INT2NUM(XML_RNGP_PAT_START_VALUE)
RNGP_PREFIX_UNDEFINED =
INT2NUM(XML_RNGP_PREFIX_UNDEFINED)
RNGP_REF_CREATE_FAILED =
INT2NUM(XML_RNGP_REF_CREATE_FAILED)
RNGP_REF_CYCLE =
INT2NUM(XML_RNGP_REF_CYCLE)
RNGP_REF_NAME_INVALID =
INT2NUM(XML_RNGP_REF_NAME_INVALID)
RNGP_REF_NO_DEF =
INT2NUM(XML_RNGP_REF_NO_DEF)
RNGP_REF_NO_NAME =
INT2NUM(XML_RNGP_REF_NO_NAME)
RNGP_REF_NOT_EMPTY =
INT2NUM(XML_RNGP_REF_NOT_EMPTY)
RNGP_START_CHOICE_AND_INTERLEAVE =
INT2NUM(XML_RNGP_START_CHOICE_AND_INTERLEAVE)
RNGP_START_CONTENT =
INT2NUM(XML_RNGP_START_CONTENT)
RNGP_START_EMPTY =
INT2NUM(XML_RNGP_START_EMPTY)
RNGP_START_MISSING =
INT2NUM(XML_RNGP_START_MISSING)
RNGP_TEXT_EXPECTED =
INT2NUM(XML_RNGP_TEXT_EXPECTED)
RNGP_TEXT_HAS_CHILD =
INT2NUM(XML_RNGP_TEXT_HAS_CHILD)
RNGP_TYPE_MISSING =
INT2NUM(XML_RNGP_TYPE_MISSING)
RNGP_TYPE_NOT_FOUND =
INT2NUM(XML_RNGP_TYPE_NOT_FOUND)
RNGP_TYPE_VALUE =
INT2NUM(XML_RNGP_TYPE_VALUE)
RNGP_UNKNOWN_ATTRIBUTE =
INT2NUM(XML_RNGP_UNKNOWN_ATTRIBUTE)
RNGP_UNKNOWN_COMBINE =
INT2NUM(XML_RNGP_UNKNOWN_COMBINE)
RNGP_UNKNOWN_CONSTRUCT =
INT2NUM(XML_RNGP_UNKNOWN_CONSTRUCT)
RNGP_UNKNOWN_TYPE_LIB =
INT2NUM(XML_RNGP_UNKNOWN_TYPE_LIB)
RNGP_URI_FRAGMENT =
INT2NUM(XML_RNGP_URI_FRAGMENT)
RNGP_URI_NOT_ABSOLUTE =
INT2NUM(XML_RNGP_URI_NOT_ABSOLUTE)
RNGP_VALUE_EMPTY =
INT2NUM(XML_RNGP_VALUE_EMPTY)
RNGP_VALUE_NO_CONTENT =
INT2NUM(XML_RNGP_VALUE_NO_CONTENT)
RNGP_XMLNS_NAME =
INT2NUM(XML_RNGP_XMLNS_NAME)
RNGP_XML_NS =
INT2NUM(XML_RNGP_XML_NS)
XPATH_EXPRESSION_OK =
INT2NUM(XML_XPATH_EXPRESSION_OK)
XPATH_NUMBER_ERROR =
INT2NUM(XML_XPATH_NUMBER_ERROR)
XPATH_UNFINISHED_LITERAL_ERROR =
INT2NUM(XML_XPATH_UNFINISHED_LITERAL_ERROR)
XPATH_START_LITERAL_ERROR =
INT2NUM(XML_XPATH_START_LITERAL_ERROR)
XPATH_VARIABLE_REF_ERROR =
INT2NUM(XML_XPATH_VARIABLE_REF_ERROR)
XPATH_UNDEF_VARIABLE_ERROR =
INT2NUM(XML_XPATH_UNDEF_VARIABLE_ERROR)
XPATH_INVALID_PREDICATE_ERROR =
INT2NUM(XML_XPATH_INVALID_PREDICATE_ERROR)
XPATH_EXPR_ERROR =
INT2NUM(XML_XPATH_EXPR_ERROR)
XPATH_UNCLOSED_ERROR =
INT2NUM(XML_XPATH_UNCLOSED_ERROR)
XPATH_UNKNOWN_FUNC_ERROR =
INT2NUM(XML_XPATH_UNKNOWN_FUNC_ERROR)
XPATH_INVALID_OPERAND =
INT2NUM(XML_XPATH_INVALID_OPERAND)
XPATH_INVALID_TYPE =
INT2NUM(XML_XPATH_INVALID_TYPE)
XPATH_INVALID_ARITY =
INT2NUM(XML_XPATH_INVALID_ARITY)
XPATH_INVALID_CTXT_SIZE =
INT2NUM(XML_XPATH_INVALID_CTXT_SIZE)
XPATH_INVALID_CTXT_POSITION =
INT2NUM(XML_XPATH_INVALID_CTXT_POSITION)
XPATH_MEMORY_ERROR =
INT2NUM(XML_XPATH_MEMORY_ERROR)
XPTR_SYNTAX_ERROR =
INT2NUM(XML_XPTR_SYNTAX_ERROR)
XPTR_RESOURCE_ERROR =
INT2NUM(XML_XPTR_RESOURCE_ERROR)
XPTR_SUB_RESOURCE_ERROR =
INT2NUM(XML_XPTR_SUB_RESOURCE_ERROR)
XPATH_UNDEF_PREFIX_ERROR =
INT2NUM(XML_XPATH_UNDEF_PREFIX_ERROR)
XPATH_ENCODING_ERROR =
INT2NUM(XML_XPATH_ENCODING_ERROR)
XPATH_INVALID_CHAR_ERROR =
INT2NUM(XML_XPATH_INVALID_CHAR_ERROR)
TREE_INVALID_HEX =
INT2NUM(XML_TREE_INVALID_HEX)
TREE_INVALID_DEC =
INT2NUM(XML_TREE_INVALID_DEC)
TREE_UNTERMINATED_ENTITY =
INT2NUM(XML_TREE_UNTERMINATED_ENTITY)
TREE_NOT_UTF8 =
INT2NUM(XML_TREE_NOT_UTF8)
SAVE_NOT_UTF8 =
INT2NUM(XML_SAVE_NOT_UTF8)
SAVE_CHAR_INVALID =
INT2NUM(XML_SAVE_CHAR_INVALID)
SAVE_NO_DOCTYPE =
INT2NUM(XML_SAVE_NO_DOCTYPE)
SAVE_UNKNOWN_ENCODING =
INT2NUM(XML_SAVE_UNKNOWN_ENCODING)
REGEXP_COMPILE_ERROR =
INT2NUM(XML_REGEXP_COMPILE_ERROR)
IO_UNKNOWN =
INT2NUM(XML_IO_UNKNOWN)
IO_EACCES =
INT2NUM(XML_IO_EACCES)
IO_EAGAIN =
INT2NUM(XML_IO_EAGAIN)
IO_EBADF =
INT2NUM(XML_IO_EBADF)
IO_EBADMSG =
INT2NUM(XML_IO_EBADMSG)
IO_EBUSY =
INT2NUM(XML_IO_EBUSY)
IO_ECANCELED =
INT2NUM(XML_IO_ECANCELED)
IO_ECHILD =
INT2NUM(XML_IO_ECHILD)
IO_EDEADLK =
INT2NUM(XML_IO_EDEADLK)
IO_EDOM =
INT2NUM(XML_IO_EDOM)
IO_EEXIST =
INT2NUM(XML_IO_EEXIST)
IO_EFAULT =
INT2NUM(XML_IO_EFAULT)
IO_EFBIG =
INT2NUM(XML_IO_EFBIG)
IO_EINPROGRESS =
INT2NUM(XML_IO_EINPROGRESS)
IO_EINTR =
INT2NUM(XML_IO_EINTR)
IO_EINVAL =
INT2NUM(XML_IO_EINVAL)
IO_EIO =
INT2NUM(XML_IO_EIO)
IO_EISDIR =
INT2NUM(XML_IO_EISDIR)
IO_EMFILE =
INT2NUM(XML_IO_EMFILE)
INT2NUM(XML_IO_EMLINK)
IO_EMSGSIZE =
INT2NUM(XML_IO_EMSGSIZE)
IO_ENAMETOOLONG =
INT2NUM(XML_IO_ENAMETOOLONG)
IO_ENFILE =
INT2NUM(XML_IO_ENFILE)
IO_ENODEV =
INT2NUM(XML_IO_ENODEV)
IO_ENOENT =
INT2NUM(XML_IO_ENOENT)
IO_ENOEXEC =
INT2NUM(XML_IO_ENOEXEC)
IO_ENOLCK =
INT2NUM(XML_IO_ENOLCK)
IO_ENOMEM =
INT2NUM(XML_IO_ENOMEM)
IO_ENOSPC =
INT2NUM(XML_IO_ENOSPC)
IO_ENOSYS =
INT2NUM(XML_IO_ENOSYS)
IO_ENOTDIR =
INT2NUM(XML_IO_ENOTDIR)
IO_ENOTEMPTY =
INT2NUM(XML_IO_ENOTEMPTY)
IO_ENOTSUP =
INT2NUM(XML_IO_ENOTSUP)
IO_ENOTTY =
INT2NUM(XML_IO_ENOTTY)
IO_ENXIO =
INT2NUM(XML_IO_ENXIO)
IO_EPERM =
INT2NUM(XML_IO_EPERM)
IO_EPIPE =
INT2NUM(XML_IO_EPIPE)
IO_ERANGE =
INT2NUM(XML_IO_ERANGE)
IO_EROFS =
INT2NUM(XML_IO_EROFS)
IO_ESPIPE =
INT2NUM(XML_IO_ESPIPE)
IO_ESRCH =
INT2NUM(XML_IO_ESRCH)
IO_ETIMEDOUT =
INT2NUM(XML_IO_ETIMEDOUT)
IO_EXDEV =
INT2NUM(XML_IO_EXDEV)
IO_NETWORK_ATTEMPT =
INT2NUM(XML_IO_NETWORK_ATTEMPT)
IO_ENCODER =
INT2NUM(XML_IO_ENCODER)
IO_FLUSH =
INT2NUM(XML_IO_FLUSH)
IO_WRITE =
INT2NUM(XML_IO_WRITE)
IO_NO_INPUT =
INT2NUM(XML_IO_NO_INPUT)
IO_BUFFER_FULL =
INT2NUM(XML_IO_BUFFER_FULL)
IO_LOAD_ERROR =
INT2NUM(XML_IO_LOAD_ERROR)
IO_ENOTSOCK =
INT2NUM(XML_IO_ENOTSOCK)
IO_EISCONN =
INT2NUM(XML_IO_EISCONN)
IO_ECONNREFUSED =
INT2NUM(XML_IO_ECONNREFUSED)
IO_ENETUNREACH =
INT2NUM(XML_IO_ENETUNREACH)
IO_EADDRINUSE =
INT2NUM(XML_IO_EADDRINUSE)
IO_EALREADY =
INT2NUM(XML_IO_EALREADY)
IO_EAFNOSUPPORT =
INT2NUM(XML_IO_EAFNOSUPPORT)
XINCLUDE_RECURSION =
INT2NUM(XML_XINCLUDE_RECURSION)
XINCLUDE_PARSE_VALUE =
INT2NUM(XML_XINCLUDE_PARSE_VALUE)
XINCLUDE_ENTITY_DEF_MISMATCH =
INT2NUM(XML_XINCLUDE_ENTITY_DEF_MISMATCH)
XINCLUDE_NO_HREF =
INT2NUM(XML_XINCLUDE_NO_HREF)
XINCLUDE_NO_FALLBACK =
INT2NUM(XML_XINCLUDE_NO_FALLBACK)
XINCLUDE_HREF_URI =
INT2NUM(XML_XINCLUDE_HREF_URI)
XINCLUDE_TEXT_FRAGMENT =
INT2NUM(XML_XINCLUDE_TEXT_FRAGMENT)
XINCLUDE_TEXT_DOCUMENT =
INT2NUM(XML_XINCLUDE_TEXT_DOCUMENT)
XINCLUDE_INVALID_CHAR =
INT2NUM(XML_XINCLUDE_INVALID_CHAR)
XINCLUDE_BUILD_FAILED =
INT2NUM(XML_XINCLUDE_BUILD_FAILED)
XINCLUDE_UNKNOWN_ENCODING =
INT2NUM(XML_XINCLUDE_UNKNOWN_ENCODING)
XINCLUDE_MULTIPLE_ROOT =
INT2NUM(XML_XINCLUDE_MULTIPLE_ROOT)
XINCLUDE_XPTR_FAILED =
INT2NUM(XML_XINCLUDE_XPTR_FAILED)
XINCLUDE_XPTR_RESULT =
INT2NUM(XML_XINCLUDE_XPTR_RESULT)
XINCLUDE_INCLUDE_IN_INCLUDE =
INT2NUM(XML_XINCLUDE_INCLUDE_IN_INCLUDE)
XINCLUDE_FALLBACKS_IN_INCLUDE =
INT2NUM(XML_XINCLUDE_FALLBACKS_IN_INCLUDE)
XINCLUDE_FALLBACK_NOT_IN_INCLUDE =
INT2NUM(XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE)
XINCLUDE_DEPRECATED_NS =
INT2NUM(XML_XINCLUDE_DEPRECATED_NS)
XINCLUDE_FRAGMENT_ID =
INT2NUM(XML_XINCLUDE_FRAGMENT_ID)
CATALOG_MISSING_ATTR =
INT2NUM(XML_CATALOG_MISSING_ATTR)
CATALOG_ENTRY_BROKEN =
INT2NUM(XML_CATALOG_ENTRY_BROKEN)
CATALOG_PREFER_VALUE =
INT2NUM(XML_CATALOG_PREFER_VALUE)
CATALOG_NOT_CATALOG =
INT2NUM(XML_CATALOG_NOT_CATALOG)
CATALOG_RECURSION =
INT2NUM(XML_CATALOG_RECURSION)
SCHEMAP_PREFIX_UNDEFINED =
INT2NUM(XML_SCHEMAP_PREFIX_UNDEFINED)
SCHEMAP_ATTRFORMDEFAULT_VALUE =
INT2NUM(XML_SCHEMAP_ATTRFORMDEFAULT_VALUE)
SCHEMAP_ATTRGRP_NONAME_NOREF =
INT2NUM(XML_SCHEMAP_ATTRGRP_NONAME_NOREF)
SCHEMAP_ATTR_NONAME_NOREF =
INT2NUM(XML_SCHEMAP_ATTR_NONAME_NOREF)
SCHEMAP_COMPLEXTYPE_NONAME_NOREF =
INT2NUM(XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF)
SCHEMAP_ELEMFORMDEFAULT_VALUE =
INT2NUM(XML_SCHEMAP_ELEMFORMDEFAULT_VALUE)
SCHEMAP_ELEM_NONAME_NOREF =
INT2NUM(XML_SCHEMAP_ELEM_NONAME_NOREF)
SCHEMAP_EXTENSION_NO_BASE =
INT2NUM(XML_SCHEMAP_EXTENSION_NO_BASE)
SCHEMAP_FACET_NO_VALUE =
INT2NUM(XML_SCHEMAP_FACET_NO_VALUE)
SCHEMAP_FAILED_BUILD_IMPORT =
INT2NUM(XML_SCHEMAP_FAILED_BUILD_IMPORT)
SCHEMAP_GROUP_NONAME_NOREF =
INT2NUM(XML_SCHEMAP_GROUP_NONAME_NOREF)
SCHEMAP_IMPORT_NAMESPACE_NOT_URI =
INT2NUM(XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI)
SCHEMAP_IMPORT_REDEFINE_NSNAME =
INT2NUM(XML_SCHEMAP_IMPORT_REDEFINE_NSNAME)
SCHEMAP_IMPORT_SCHEMA_NOT_URI =
INT2NUM(XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI)
SCHEMAP_INVALID_BOOLEAN =
INT2NUM(XML_SCHEMAP_INVALID_BOOLEAN)
SCHEMAP_INVALID_ENUM =
INT2NUM(XML_SCHEMAP_INVALID_ENUM)
SCHEMAP_INVALID_FACET =
INT2NUM(XML_SCHEMAP_INVALID_FACET)
SCHEMAP_INVALID_FACET_VALUE =
INT2NUM(XML_SCHEMAP_INVALID_FACET_VALUE)
SCHEMAP_INVALID_MAXOCCURS =
INT2NUM(XML_SCHEMAP_INVALID_MAXOCCURS)
SCHEMAP_INVALID_MINOCCURS =
INT2NUM(XML_SCHEMAP_INVALID_MINOCCURS)
SCHEMAP_INVALID_REF_AND_SUBTYPE =
INT2NUM(XML_SCHEMAP_INVALID_REF_AND_SUBTYPE)
SCHEMAP_INVALID_WHITE_SPACE =
INT2NUM(XML_SCHEMAP_INVALID_WHITE_SPACE)
SCHEMAP_NOATTR_NOREF =
INT2NUM(XML_SCHEMAP_NOATTR_NOREF)
SCHEMAP_NOTATION_NO_NAME =
INT2NUM(XML_SCHEMAP_NOTATION_NO_NAME)
SCHEMAP_NOTYPE_NOREF =
INT2NUM(XML_SCHEMAP_NOTYPE_NOREF)
SCHEMAP_REF_AND_SUBTYPE =
INT2NUM(XML_SCHEMAP_REF_AND_SUBTYPE)
SCHEMAP_RESTRICTION_NONAME_NOREF =
INT2NUM(XML_SCHEMAP_RESTRICTION_NONAME_NOREF)
SCHEMAP_SIMPLETYPE_NONAME =
INT2NUM(XML_SCHEMAP_SIMPLETYPE_NONAME)
SCHEMAP_TYPE_AND_SUBTYPE =
INT2NUM(XML_SCHEMAP_TYPE_AND_SUBTYPE)
SCHEMAP_UNKNOWN_ALL_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_ALL_CHILD)
SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD)
SCHEMAP_UNKNOWN_ATTR_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_ATTR_CHILD)
SCHEMAP_UNKNOWN_ATTRGRP_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD)
SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP =
INT2NUM(XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP)
SCHEMAP_UNKNOWN_BASE_TYPE =
INT2NUM(XML_SCHEMAP_UNKNOWN_BASE_TYPE)
SCHEMAP_UNKNOWN_CHOICE_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_CHOICE_CHILD)
SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD)
SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD)
SCHEMAP_UNKNOWN_ELEM_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_ELEM_CHILD)
SCHEMAP_UNKNOWN_EXTENSION_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD)
SCHEMAP_UNKNOWN_FACET_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_FACET_CHILD)
SCHEMAP_UNKNOWN_FACET_TYPE =
INT2NUM(XML_SCHEMAP_UNKNOWN_FACET_TYPE)
SCHEMAP_UNKNOWN_GROUP_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_GROUP_CHILD)
SCHEMAP_UNKNOWN_IMPORT_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_IMPORT_CHILD)
SCHEMAP_UNKNOWN_LIST_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_LIST_CHILD)
SCHEMAP_UNKNOWN_NOTATION_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_NOTATION_CHILD)
SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD)
SCHEMAP_UNKNOWN_REF =
INT2NUM(XML_SCHEMAP_UNKNOWN_REF)
SCHEMAP_UNKNOWN_RESTRICTION_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD)
SCHEMAP_UNKNOWN_SCHEMAS_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD)
SCHEMAP_UNKNOWN_SEQUENCE_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD)
SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD)
SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD)
SCHEMAP_UNKNOWN_TYPE =
INT2NUM(XML_SCHEMAP_UNKNOWN_TYPE)
SCHEMAP_UNKNOWN_UNION_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_UNION_CHILD)
SCHEMAP_ELEM_DEFAULT_FIXED =
INT2NUM(XML_SCHEMAP_ELEM_DEFAULT_FIXED)
SCHEMAP_REGEXP_INVALID =
INT2NUM(XML_SCHEMAP_REGEXP_INVALID)
SCHEMAP_FAILED_LOAD =
INT2NUM(XML_SCHEMAP_FAILED_LOAD)
SCHEMAP_NOTHING_TO_PARSE =
INT2NUM(XML_SCHEMAP_NOTHING_TO_PARSE)
SCHEMAP_NOROOT =
INT2NUM(XML_SCHEMAP_NOROOT)
SCHEMAP_REDEFINED_GROUP =
INT2NUM(XML_SCHEMAP_REDEFINED_GROUP)
SCHEMAP_REDEFINED_TYPE =
INT2NUM(XML_SCHEMAP_REDEFINED_TYPE)
SCHEMAP_REDEFINED_ELEMENT =
INT2NUM(XML_SCHEMAP_REDEFINED_ELEMENT)
SCHEMAP_REDEFINED_ATTRGROUP =
INT2NUM(XML_SCHEMAP_REDEFINED_ATTRGROUP)
SCHEMAP_REDEFINED_ATTR =
INT2NUM(XML_SCHEMAP_REDEFINED_ATTR)
SCHEMAP_REDEFINED_NOTATION =
INT2NUM(XML_SCHEMAP_REDEFINED_NOTATION)
SCHEMAP_FAILED_PARSE =
INT2NUM(XML_SCHEMAP_FAILED_PARSE)
SCHEMAP_UNKNOWN_PREFIX =
INT2NUM(XML_SCHEMAP_UNKNOWN_PREFIX)
SCHEMAP_DEF_AND_PREFIX =
INT2NUM(XML_SCHEMAP_DEF_AND_PREFIX)
SCHEMAP_UNKNOWN_INCLUDE_CHILD =
INT2NUM(XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD)
SCHEMAP_INCLUDE_SCHEMA_NOT_URI =
INT2NUM(XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI)
SCHEMAP_INCLUDE_SCHEMA_NO_URI =
INT2NUM(XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI)
SCHEMAP_NOT_SCHEMA =
INT2NUM(XML_SCHEMAP_NOT_SCHEMA)
SCHEMAP_UNKNOWN_MEMBER_TYPE =
INT2NUM(XML_SCHEMAP_UNKNOWN_MEMBER_TYPE)
SCHEMAP_INVALID_ATTR_USE =
INT2NUM(XML_SCHEMAP_INVALID_ATTR_USE)
SCHEMAP_RECURSIVE =
INT2NUM(XML_SCHEMAP_RECURSIVE)
SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE =
INT2NUM(XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE)
SCHEMAP_INVALID_ATTR_COMBINATION =
INT2NUM(XML_SCHEMAP_INVALID_ATTR_COMBINATION)
SCHEMAP_INVALID_ATTR_INLINE_COMBINATION =
INT2NUM(XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION)
SCHEMAP_MISSING_SIMPLETYPE_CHILD =
INT2NUM(XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD)
SCHEMAP_INVALID_ATTR_NAME =
INT2NUM(XML_SCHEMAP_INVALID_ATTR_NAME)
SCHEMAP_REF_AND_CONTENT =
INT2NUM(XML_SCHEMAP_REF_AND_CONTENT)
SCHEMAP_CT_PROPS_CORRECT_1 =
INT2NUM(XML_SCHEMAP_CT_PROPS_CORRECT_1)
SCHEMAP_CT_PROPS_CORRECT_2 =
INT2NUM(XML_SCHEMAP_CT_PROPS_CORRECT_2)
SCHEMAP_CT_PROPS_CORRECT_3 =
INT2NUM(XML_SCHEMAP_CT_PROPS_CORRECT_3)
SCHEMAP_CT_PROPS_CORRECT_4 =
INT2NUM(XML_SCHEMAP_CT_PROPS_CORRECT_4)
SCHEMAP_CT_PROPS_CORRECT_5 =
INT2NUM(XML_SCHEMAP_CT_PROPS_CORRECT_5)
SCHEMAP_DERIVATION_OK_RESTRICTION_1 =
INT2NUM(XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1)
SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 =
INT2NUM(XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1)
SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 =
INT2NUM(XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2)
SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 =
INT2NUM(XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2)
SCHEMAP_DERIVATION_OK_RESTRICTION_3 =
INT2NUM(XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3)
SCHEMAP_WILDCARD_INVALID_NS_MEMBER =
INT2NUM(XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER)
SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE =
INT2NUM(XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE)
SCHEMAP_UNION_NOT_EXPRESSIBLE =
INT2NUM(XML_SCHEMAP_UNION_NOT_EXPRESSIBLE)
SCHEMAP_SRC_IMPORT_3_1 =
INT2NUM(XML_SCHEMAP_SRC_IMPORT_3_1)
SCHEMAP_SRC_IMPORT_3_2 =
INT2NUM(XML_SCHEMAP_SRC_IMPORT_3_2)
SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 =
INT2NUM(XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1)
SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 =
INT2NUM(XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2)
SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 =
INT2NUM(XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3)
SCHEMAP_COS_CT_EXTENDS_1_3 =
INT2NUM(XML_SCHEMAP_COS_CT_EXTENDS_1_3)
SCHEMAV_NOROOT =
INT2NUM(XML_SCHEMAV_NOROOT)
SCHEMAV_UNDECLAREDELEM =
INT2NUM(XML_SCHEMAV_UNDECLAREDELEM)
SCHEMAV_NOTTOPLEVEL =
INT2NUM(XML_SCHEMAV_NOTTOPLEVEL)
SCHEMAV_MISSING =
INT2NUM(XML_SCHEMAV_MISSING)
SCHEMAV_WRONGELEM =
INT2NUM(XML_SCHEMAV_WRONGELEM)
SCHEMAV_NOTYPE =
INT2NUM(XML_SCHEMAV_NOTYPE)
SCHEMAV_NOROLLBACK =
INT2NUM(XML_SCHEMAV_NOROLLBACK)
SCHEMAV_ISABSTRACT =
INT2NUM(XML_SCHEMAV_ISABSTRACT)
SCHEMAV_NOTEMPTY =
INT2NUM(XML_SCHEMAV_NOTEMPTY)
SCHEMAV_ELEMCONT =
INT2NUM(XML_SCHEMAV_ELEMCONT)
SCHEMAV_HAVEDEFAULT =
INT2NUM(XML_SCHEMAV_HAVEDEFAULT)
SCHEMAV_NOTNILLABLE =
INT2NUM(XML_SCHEMAV_NOTNILLABLE)
SCHEMAV_EXTRACONTENT =
INT2NUM(XML_SCHEMAV_EXTRACONTENT)
SCHEMAV_INVALIDATTR =
INT2NUM(XML_SCHEMAV_INVALIDATTR)
SCHEMAV_INVALIDELEM =
INT2NUM(XML_SCHEMAV_INVALIDELEM)
SCHEMAV_NOTDETERMINIST =
INT2NUM(XML_SCHEMAV_NOTDETERMINIST)
SCHEMAV_CONSTRUCT =
INT2NUM(XML_SCHEMAV_CONSTRUCT)
SCHEMAV_INTERNAL =
INT2NUM(XML_SCHEMAV_INTERNAL)
SCHEMAV_NOTSIMPLE =
INT2NUM(XML_SCHEMAV_NOTSIMPLE)
SCHEMAV_ATTRUNKNOWN =
INT2NUM(XML_SCHEMAV_ATTRUNKNOWN)
SCHEMAV_ATTRINVALID =
INT2NUM(XML_SCHEMAV_ATTRINVALID)
SCHEMAV_VALUE =
INT2NUM(XML_SCHEMAV_VALUE)
SCHEMAV_FACET =
INT2NUM(XML_SCHEMAV_FACET)
SCHEMAV_CVC_DATATYPE_VALID_1_2_1 =
INT2NUM(XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1)
SCHEMAV_CVC_DATATYPE_VALID_1_2_2 =
INT2NUM(XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2)
SCHEMAV_CVC_DATATYPE_VALID_1_2_3 =
INT2NUM(XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3)
SCHEMAV_CVC_TYPE_3_1_1 =
INT2NUM(XML_SCHEMAV_CVC_TYPE_3_1_1)
SCHEMAV_CVC_TYPE_3_1_2 =
INT2NUM(XML_SCHEMAV_CVC_TYPE_3_1_2)
SCHEMAV_CVC_FACET_VALID =
INT2NUM(XML_SCHEMAV_CVC_FACET_VALID)
SCHEMAV_CVC_LENGTH_VALID =
INT2NUM(XML_SCHEMAV_CVC_LENGTH_VALID)
SCHEMAV_CVC_MINLENGTH_VALID =
INT2NUM(XML_SCHEMAV_CVC_MINLENGTH_VALID)
SCHEMAV_CVC_MAXLENGTH_VALID =
INT2NUM(XML_SCHEMAV_CVC_MAXLENGTH_VALID)
SCHEMAV_CVC_MININCLUSIVE_VALID =
INT2NUM(XML_SCHEMAV_CVC_MININCLUSIVE_VALID)
SCHEMAV_CVC_MAXINCLUSIVE_VALID =
INT2NUM(XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID)
SCHEMAV_CVC_MINEXCLUSIVE_VALID =
INT2NUM(XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID)
SCHEMAV_CVC_MAXEXCLUSIVE_VALID =
INT2NUM(XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID)
SCHEMAV_CVC_TOTALDIGITS_VALID =
INT2NUM(XML_SCHE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T =
INT2NUM(XML_SCHEMAV_ELEMENT_CONTENT)
SCHEMAV_DOCUMENT_ELEMENT_MISSING =
INT2NUM(XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING)
SCHEMAV_CVC_COMPLEX_TYPE_1 =
INT2NUM(XML_SCHEMAV_CVC_COMPLEX_TYPE_1)
SCHEMAV_CVC_AU =
INT2NUM(XML_SCHEMAV_CVC_AU)
SCHEMAV_CVC_TYPE_1 =
INT2NUM(XML_SCHEMAV_CVC_TYPE_1)
SCHEMAV_CVC_TYPE_2 =
INT2NUM(XML_SCHEMAV_CVC_TYPE_2)
SCHEMAV_CVC_IDC =
INT2NUM(XML_SCHEMAV_CVC_IDC)
SCHEMAV_CVC_WILDCARD =
INT2NUM(XML_SCHEMAV_CVC_WILDCARD)
SCHEMAV_MISC =
INT2NUM(XML_SCHEMAV_MISC)
XPTR_UNKNOWN_SCHEME =
INT2NUM(XML_XPTR_UNKNOWN_SCHEME)
XPTR_CHILDSEQ_START =
INT2NUM(XML_XPTR_CHILDSEQ_START)
XPTR_EVAL_FAILED =
INT2NUM(XML_XPTR_EVAL_FAILED)
XPTR_EXTRA_OBJECTS =
INT2NUM(XML_XPTR_EXTRA_OBJECTS)
C14N_CREATE_CTXT =
INT2NUM(XML_C14N_CREATE_CTXT)
C14N_REQUIRES_UTF8 =
INT2NUM(XML_C14N_REQUIRES_UTF8)
C14N_CREATE_STACK =
INT2NUM(XML_C14N_CREATE_STACK)
C14N_INVALID_NODE =
INT2NUM(XML_C14N_INVALID_NODE)
C14N_UNKNOW_NODE =
INT2NUM(XML_C14N_UNKNOW_NODE)
C14N_RELATIVE_NAMESPACE =
INT2NUM(XML_C14N_RELATIVE_NAMESPACE)
FTP_PASV_ANSWER =
INT2NUM(XML_FTP_PASV_ANSWER)
FTP_EPSV_ANSWER =
INT2NUM(XML_FTP_EPSV_ANSWER)
FTP_ACCNT =
INT2NUM(XML_FTP_ACCNT)
FTP_URL_SYNTAX =
INT2NUM(XML_FTP_URL_SYNTAX)
HTTP_URL_SYNTAX =
INT2NUM(XML_HTTP_URL_SYNTAX)
HTTP_USE_IP =
INT2NUM(XML_HTTP_USE_IP)
HTTP_UNKNOWN_HOST =
INT2NUM(XML_HTTP_UNKNOWN_HOST)
SCHEMAP_SRC_SIMPLE_TYPE_1 =
INT2NUM(XML_SCHEMAP_SRC_SIMPLE_TYPE_1)
SCHEMAP_SRC_SIMPLE_TYPE_2 =
INT2NUM(XML_SCHEMAP_SRC_SIMPLE_TYPE_2)
SCHEMAP_SRC_SIMPLE_TYPE_3 =
INT2NUM(XML_SCHEMAP_SRC_SIMPLE_TYPE_3)
SCHEMAP_SRC_SIMPLE_TYPE_4 =
INT2NUM(XML_SCHEMAP_SRC_SIMPLE_TYPE_4)
SCHEMAP_SRC_RESOLVE =
INT2NUM(XML_SCHEMAP_SRC_RESOLVE)
SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE =
INT2NUM(XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE)
SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE =
INT2NUM(XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE)
SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES =
INT2NUM(XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES)
SCHEMAP_ST_PROPS_CORRECT_1 =
INT2NUM(XML_SCHEMAP_ST_PROPS_CORRECT_1)
SCHEMAP_ST_PROPS_CORRECT_2 =
INT2NUM(XML_SCHEMAP_ST_PROPS_CORRECT_2)
SCHEMAP_ST_PROPS_CORRECT_3 =
INT2NUM(XML_SCHEMAP_ST_PROPS_CORRECT_3)
SCHEMAP_COS_ST_RESTRICTS_1_1 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_1_1)
SCHEMAP_COS_ST_RESTRICTS_1_2 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_1_2)
SCHEMAP_COS_ST_RESTRICTS_1_3_1 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1)
SCHEMAP_COS_ST_RESTRICTS_1_3_2 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2)
SCHEMAP_COS_ST_RESTRICTS_2_1 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_2_1)
SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1)
SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2)
SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1)
SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2)
SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3)
SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4)
SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5)
SCHEMAP_COS_ST_RESTRICTS_3_1 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_3_1)
SCHEMAP_COS_ST_RESTRICTS_3_3_1 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1)
SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2)
SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2)
SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1)
SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3)
SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4)
SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 =
INT2NUM(XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5)
SCHEMAP_COS_ST_DERIVED_OK_2_1 =
INT2NUM(XML_SCHEMAP_COS_ST_DERIVED_OK_2_1)
SCHEMAP_COS_ST_DERIVED_OK_2_2 =
INT2NUM(XML_SCHEMAP_COS_ST_DERIVED_OK_2_2)
SCHEMAP_S4S_ELEM_NOT_ALLOWED =
INT2NUM(XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED)
SCHEMAP_S4S_ELEM_MISSING =
INT2NUM(XML_SCHEMAP_S4S_ELEM_MISSING)
SCHEMAP_S4S_ATTR_NOT_ALLOWED =
INT2NUM(XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED)
SCHEMAP_S4S_ATTR_MISSING =
INT2NUM(XML_SCHEMAP_S4S_ATTR_MISSING)
SCHEMAP_S4S_ATTR_INVALID_VALUE =
INT2NUM(XML_SCHEMAP_S4S_ATTR_INVALID_VALUE)
SCHEMAP_SRC_ELEMENT_1 =
INT2NUM(XML_SCHEMAP_SRC_ELEMENT_1)
SCHEMAP_SRC_ELEMENT_2_1 =
INT2NUM(XML_SCHEMAP_SRC_ELEMENT_2_1)
SCHEMAP_SRC_ELEMENT_2_2 =
INT2NUM(XML_SCHEMAP_SRC_ELEMENT_2_2)
SCHEMAP_SRC_ELEMENT_3 =
INT2NUM(XML_SCHEMAP_SRC_ELEMENT_3)
SCHEMAP_P_PROPS_CORRECT_1 =
INT2NUM(XML_SCHEMAP_P_PROPS_CORRECT_1)
SCHEMAP_P_PROPS_CORRECT_2_1 =
INT2NUM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_RESTRICTION_2_1_3)
SCHEMAP_AU_PROPS_CORRECT_2 =
INT2NUM(XML_SCHEMAP_AU_PROPS_CORRECT_2)
SCHEMAP_A_PROPS_CORRECT_2 =
INT2NUM(XML_SCHEMAP_A_PROPS_CORRECT_2)
SCHEMAP_C_PROPS_CORRECT =
INT2NUM(XML_SCHEMAP_C_PROPS_CORRECT)
SCHEMAP_SRC_REDEFINE =
INT2NUM(XML_SCHEMAP_SRC_REDEFINE)
SCHEMAP_SRC_IMPORT =
INT2NUM(XML_SCHEMAP_SRC_IMPORT)
SCHEMAP_WARN_SKIP_SCHEMA =
INT2NUM(XML_SCHEMAP_WARN_SKIP_SCHEMA)
SCHEMAP_WARN_UNLOCATED_SCHEMA =
INT2NUM(XML_SCHEMAP_WARN_UNLOCATED_SCHEMA)
SCHEMAP_WARN_ATTR_REDECL_PROH =
INT2NUM(XML_SCHEMAP_WARN_ATTR_REDECL_PROH)
SCHEMAP_WARN_ATTR_POINTLESS_PROH =
INT2NUM(XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH)
SCHEMAP_AG_PROPS_CORRECT =
INT2NUM(XML_SCHEMAP_AG_PROPS_CORRECT)
SCHEMAP_COS_CT_EXTENDS_1_2 =
INT2NUM(XML_SCHEMAP_COS_CT_EXTENDS_1_2)
SCHEMAP_AU_PROPS_CORRECT =
INT2NUM(XML_SCHEMAP_AU_PROPS_CORRECT)
SCHEMAP_A_PROPS_CORRECT_3 =
INT2NUM(XML_SCHEMAP_A_PROPS_CORRECT_3)
SCHEMAP_COS_ALL_LIMITED =
INT2NUM(XML_SCHEMAP_COS_ALL_LIMITED)
SCHEMATRONV_ASSERT =
INT2NUM(XML_SCHEMATRONV_ASSERT)
SCHEMATRONV_REPORT =
INT2NUM(XML_SCHEMATRONV_REPORT)
MODULE_OPEN =
INT2NUM(XML_MODULE_OPEN)
MODULE_CLOSE =
INT2NUM(XML_MODULE_CLOSE)
CHECK_FOUND_ELEMENT =
INT2NUM(XML_CHECK_FOUND_ELEMENT)
CHECK_FOUND_ATTRIBUTE =
INT2NUM(XML_CHECK_FOUND_ATTRIBUTE)
CHECK_FOUND_TEXT =
INT2NUM(XML_CHECK_FOUND_TEXT)
CHECK_FOUND_CDATA =
INT2NUM(XML_CHECK_FOUND_CDATA)
CHECK_FOUND_ENTITYREF =
INT2NUM(XML_CHECK_FOUND_ENTITYREF)
CHECK_FOUND_ENTITY =
INT2NUM(XML_CHECK_FOUND_ENTITY)
CHECK_FOUND_PI =
INT2NUM(XML_CHECK_FOUND_PI)
CHECK_FOUND_COMMENT =
INT2NUM(XML_CHECK_FOUND_COMMENT)
CHECK_FOUND_DOCTYPE =
INT2NUM(XML_CHECK_FOUND_DOCTYPE)
CHECK_FOUND_FRAGMENT =
INT2NUM(XML_CHECK_FOUND_FRAGMENT)
CHECK_FOUND_NOTATION =
INT2NUM(XML_CHECK_FOUND_NOTATION)
CHECK_UNKNOWN_NODE =
INT2NUM(XML_CHECK_UNKNOWN_NODE)
CHECK_ENTITY_TYPE =
INT2NUM(XML_CHECK_ENTITY_TYPE)
CHECK_NO_PARENT =
INT2NUM(XML_CHECK_NO_PARENT)
CHECK_NO_DOC =
INT2NUM(XML_CHECK_NO_DOC)
CHECK_NO_NAME =
INT2NUM(XML_CHECK_NO_NAME)
CHECK_NO_ELEM =
INT2NUM(XML_CHECK_NO_ELEM)
CHECK_WRONG_DOC =
INT2NUM(XML_CHECK_WRONG_DOC)
CHECK_NO_PREV =
INT2NUM(XML_CHECK_NO_PREV)
CHECK_WRONG_PREV =
INT2NUM(XML_CHECK_WRONG_PREV)
CHECK_NO_NEXT =
INT2NUM(XML_CHECK_NO_NEXT)
CHECK_WRONG_NEXT =
INT2NUM(XML_CHECK_WRONG_NEXT)
CHECK_NOT_DTD =
INT2NUM(XML_CHECK_NOT_DTD)
CHECK_NOT_ATTR =
INT2NUM(XML_CHECK_NOT_ATTR)
CHECK_NOT_ATTR_DECL =
INT2NUM(XML_CHECK_NOT_ATTR_DECL)
CHECK_NOT_ELEM_DECL =
INT2NUM(XML_CHECK_NOT_ELEM_DECL)
CHECK_NOT_ENTITY_DECL =
INT2NUM(XML_CHECK_NOT_ENTITY_DECL)
CHECK_NOT_NS_DECL =
INT2NUM(XML_CHECK_NOT_NS_DECL)
CHECK_NO_HREF =
INT2NUM(XML_CHECK_NO_HREF)
CHECK_WRONG_PARENT =
INT2NUM(XML_CHECK_WRONG_PARENT)
CHECK_NS_SCOPE =
INT2NUM(XML_CHECK_NS_SCOPE)
CHECK_NS_ANCESTOR =
INT2NUM(XML_CHECK_NS_ANCESTOR)
CHECK_NOT_UTF8 =
INT2NUM(XML_CHECK_NOT_UTF8)
CHECK_NO_DICT =
INT2NUM(XML_CHECK_NO_DICT)
CHECK_NOT_NCNAME =
INT2NUM(XML_CHECK_NOT_NCNAME)
CHECK_OUTSIDE_DICT =
INT2NUM(XML_CHECK_OUTSIDE_DICT)
CHECK_WRONG_NAME =
INT2NUM(XML_CHECK_WRONG_NAME)
CHECK_NAME_NOT_NULL =
INT2NUM(XML_CHECK_NAME_NOT_NULL)
I18N_NO_NAME =
INT2NUM(XML_I18N_NO_NAME)
I18N_NO_HANDLER =
INT2NUM(XML_I18N_NO_HANDLER)
I18N_EXCESS_HANDLER =
INT2NUM(XML_I18N_EXCESS_HANDLER)
I18N_CONV_FAILED =
INT2NUM(XML_I18N_CONV_FAILED)
I18N_NO_OUTPUT =
INT2NUM(XML_I18N_NO_OUTPUT)

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#codeObject (readonly)

#ctxtObject (readonly)

#domainObject (readonly)

#fileObject (readonly)

#int1Object (readonly)

#int2Object (readonly)

#levelObject (readonly)

Error attributes

#lineObject (readonly)

#nodeObject (readonly)

#str1Object (readonly)

#str2Object (readonly)

#str3Object (readonly)

Class Method Details

.get_error_handlerObject

Returns the proc that will be called when libxml generates warning, error or fatal error messages.



47
48
49
50
51
# File 'ext/libxml/ruby_xml_error.c', line 47

static VALUE rxml_error_get_handler()
{
  VALUE block = rb_cvar_get(eXMLError, ERROR_HANDLER_ID);
  return block;
}

.reset_error_handlerObject

Removes the current error handler.



155
156
157
158
159
# File 'ext/libxml/ruby_xml_error.c', line 155

static VALUE rxml_error_reset_handler(VALUE self)
{
  rxml_set_handler(self, Qnil);
  return self;
}

.set_error_handler {|error| ... } ⇒ Object

Registers a block that will be called with an instance of XML::Error when libxml generates warning, error or fatal error messages.

Yields:

  • (error)


134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
# File 'ext/libxml/ruby_xml_error.c', line 134

static VALUE rxml_error_set_handler(VALUE self)
{
  VALUE block;

  if (rb_block_given_p() == Qfalse)
    rb_raise(rb_eRuntimeError, "No block given");

  block = rb_block_proc();

  /* Embed the block within the Error class to avoid it to be collected.
   Previous handler will be overwritten if it exists. */
  rxml_set_handler(self, block);

  return self;
}

Instance Method Details

#==(other) ⇒ Object



37
38
39
# File 'lib/libxml/error.rb', line 37

def ==(other)
  eql?(other)
end

#code_to_sObject



76
77
78
# File 'lib/libxml/error.rb', line 76

def code_to_s
  ERROR_CODE_MAP[self.code]
end

#domain_to_sObject



72
73
74
# File 'lib/libxml/error.rb', line 72

def domain_to_s
  DOMAIN_CODE_MAP[self.domain]
end

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/libxml/error.rb', line 41

def eql?(other)
  self.code == other.code and
  self.domain == other.domain and
  self.message == other.message and
  self.level == other.level and
  self.file == other.file and
  self.line == other.line and
  self.str1 == other.str1 and
  self.str2 == other.str2 and
  self.str3 == other.str3 and
  self.int1 == other.int1 and
  self.int2 == other.int2 and
  self.ctxt == other.ctxt and
  self.node == other.node
rescue
  false
end

#level_to_sObject



59
60
61
62
63
64
65
66
67
68
69
70
# File 'lib/libxml/error.rb', line 59

def level_to_s
  case self.level
    when NONE
      ''
    when WARNING
      'Warning:'
    when ERROR
      'Error:'
    when FATAL
      'Fatal error:'
  end
end

#to_sObject



80
81
82
83
84
85
86
87
88
89
90
# File 'lib/libxml/error.rb', line 80

def to_s
  msg = super
  msg = msg ? msg.strip: ''

  if self.line
    sprintf("%s %s at %s:%d.", self.level_to_s, msg,
                               self.file, self.line)
  else
    sprintf("%s %s.", self.level_to_s, msg)
  end
end