### ----------------------------------------------------
### -- LibXML
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: lib/LibXML/Enums.rakumod
### ----------------------------------------------------
### -- Chunk 2 of 2
    XML_SCHEMAP_COS_ST_RESTRICTS_3_1 => 3023,
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 => 3024,
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 => 3025,
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 => 3027,
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 => 3026,
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 => 3028,
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 => 3029,
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 => 3030,
    XML_SCHEMAP_COS_VALID_DEFAULT_1 => 3058,
    XML_SCHEMAP_COS_VALID_DEFAULT_2_1 => 3059,
    XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 => 3060,
    XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 => 3061,
    XML_SCHEMAP_CT_PROPS_CORRECT_1 => 1782,
    XML_SCHEMAP_CT_PROPS_CORRECT_2 => 1783,
    XML_SCHEMAP_CT_PROPS_CORRECT_3 => 1784,
    XML_SCHEMAP_CT_PROPS_CORRECT_4 => 1785,
    XML_SCHEMAP_CT_PROPS_CORRECT_5 => 1786,
    XML_SCHEMAP_CVC_SIMPLE_TYPE => 3062,
    XML_SCHEMAP_C_PROPS_CORRECT => 3080,
    XML_SCHEMAP_DEF_AND_PREFIX => 1768,
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 => 1787,
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 => 1788,
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 => 1789,
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 => 3077,
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 => 1790,
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 => 1791,
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 => 1797,
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 => 1798,
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 => 1799,
    XML_SCHEMAP_ELEMFORMDEFAULT_VALUE => 1705,
    XML_SCHEMAP_ELEM_DEFAULT_FIXED => 1755,
    XML_SCHEMAP_ELEM_NONAME_NOREF => 1706,
    XML_SCHEMAP_EXTENSION_NO_BASE => 1707,
    XML_SCHEMAP_E_PROPS_CORRECT_2 => 3045,
    XML_SCHEMAP_E_PROPS_CORRECT_3 => 3046,
    XML_SCHEMAP_E_PROPS_CORRECT_4 => 3047,
    XML_SCHEMAP_E_PROPS_CORRECT_5 => 3048,
    XML_SCHEMAP_E_PROPS_CORRECT_6 => 3049,
    XML_SCHEMAP_FACET_NO_VALUE => 1708,
    XML_SCHEMAP_FAILED_BUILD_IMPORT => 1709,
    XML_SCHEMAP_FAILED_LOAD => 1757,
    XML_SCHEMAP_FAILED_PARSE => 1766,
    XML_SCHEMAP_GROUP_NONAME_NOREF => 1710,
    XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI => 1711,
    XML_SCHEMAP_IMPORT_REDEFINE_NSNAME => 1712,
    XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI => 1713,
    XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI => 1770,
    XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI => 1771,
    XML_SCHEMAP_INTERNAL => 3069,
    XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE => 1793,
    XML_SCHEMAP_INVALID_ATTR_COMBINATION => 1777,
    XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION => 1778,
    XML_SCHEMAP_INVALID_ATTR_NAME => 1780,
    XML_SCHEMAP_INVALID_ATTR_USE => 1774,
    XML_SCHEMAP_INVALID_BOOLEAN => 1714,
    XML_SCHEMAP_INVALID_ENUM => 1715,
    XML_SCHEMAP_INVALID_FACET => 1716,
    XML_SCHEMAP_INVALID_FACET_VALUE => 1717,
    XML_SCHEMAP_INVALID_MAXOCCURS => 1718,
    XML_SCHEMAP_INVALID_MINOCCURS => 1719,
    XML_SCHEMAP_INVALID_REF_AND_SUBTYPE => 1720,
    XML_SCHEMAP_INVALID_WHITE_SPACE => 1721,
    XML_SCHEMAP_MG_PROPS_CORRECT_1 => 3074,
    XML_SCHEMAP_MG_PROPS_CORRECT_2 => 3075,
    XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD => 1779,
    XML_SCHEMAP_NOATTR_NOREF => 1722,
    XML_SCHEMAP_NOROOT => 1759,
    XML_SCHEMAP_NOTATION_NO_NAME => 1723,
    XML_SCHEMAP_NOTHING_TO_PARSE => 1758,
    XML_SCHEMAP_NOTYPE_NOREF => 1724,
    XML_SCHEMAP_NOT_DETERMINISTIC => 3070,
    XML_SCHEMAP_NOT_SCHEMA => 1772,
    XML_SCHEMAP_NO_XMLNS => 3056,
    XML_SCHEMAP_NO_XSI => 3057,
    XML_SCHEMAP_PREFIX_UNDEFINED => 1700,
    XML_SCHEMAP_P_PROPS_CORRECT_1 => 3042,
    XML_SCHEMAP_P_PROPS_CORRECT_2_1 => 3043,
    XML_SCHEMAP_P_PROPS_CORRECT_2_2 => 3044,
    XML_SCHEMAP_RECURSIVE => 1775,
    XML_SCHEMAP_REDEFINED_ATTR => 1764,
    XML_SCHEMAP_REDEFINED_ATTRGROUP => 1763,
    XML_SCHEMAP_REDEFINED_ELEMENT => 1762,
    XML_SCHEMAP_REDEFINED_GROUP => 1760,
    XML_SCHEMAP_REDEFINED_NOTATION => 1765,
    XML_SCHEMAP_REDEFINED_TYPE => 1761,
    XML_SCHEMAP_REF_AND_CONTENT => 1781,
    XML_SCHEMAP_REF_AND_SUBTYPE => 1725,
    XML_SCHEMAP_REGEXP_INVALID => 1756,
    XML_SCHEMAP_RESTRICTION_NONAME_NOREF => 1726,
    XML_SCHEMAP_S4S_ATTR_INVALID_VALUE => 3037,
    XML_SCHEMAP_S4S_ATTR_MISSING => 3036,
    XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED => 3035,
    XML_SCHEMAP_S4S_ELEM_MISSING => 3034,
    XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED => 3033,
    XML_SCHEMAP_SIMPLETYPE_NONAME => 1727,
    XML_SCHEMAP_SRC_ATTRIBUTE_1 => 3051,
    XML_SCHEMAP_SRC_ATTRIBUTE_2 => 3052,
    XML_SCHEMAP_SRC_ATTRIBUTE_3_1 => 3053,
    XML_SCHEMAP_SRC_ATTRIBUTE_3_2 => 3054,
    XML_SCHEMAP_SRC_ATTRIBUTE_4 => 3055,
    XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 => 3071,
    XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 => 3072,
    XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 => 3073,
    XML_SCHEMAP_SRC_CT_1 => 3076,
    XML_SCHEMAP_SRC_ELEMENT_1 => 3038,
    XML_SCHEMAP_SRC_ELEMENT_2_1 => 3039,
    XML_SCHEMAP_SRC_ELEMENT_2_2 => 3040,
    XML_SCHEMAP_SRC_ELEMENT_3 => 3041,
    XML_SCHEMAP_SRC_IMPORT => 3082,
    XML_SCHEMAP_SRC_IMPORT_1_1 => 3064,
    XML_SCHEMAP_SRC_IMPORT_1_2 => 3065,
    XML_SCHEMAP_SRC_IMPORT_2 => 3066,
    XML_SCHEMAP_SRC_IMPORT_2_1 => 3067,
    XML_SCHEMAP_SRC_IMPORT_2_2 => 3068,
    XML_SCHEMAP_SRC_IMPORT_3_1 => 1795,
    XML_SCHEMAP_SRC_IMPORT_3_2 => 1796,
    XML_SCHEMAP_SRC_INCLUDE => 3050,
    XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE => 3006,
    XML_SCHEMAP_SRC_REDEFINE => 3081,
    XML_SCHEMAP_SRC_RESOLVE => 3004,
    XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE => 3005,
    XML_SCHEMAP_SRC_SIMPLE_TYPE_1 => 3000,
    XML_SCHEMAP_SRC_SIMPLE_TYPE_2 => 3001,
    XML_SCHEMAP_SRC_SIMPLE_TYPE_3 => 3002,
    XML_SCHEMAP_SRC_SIMPLE_TYPE_4 => 3003,
    XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES => 3007,
    XML_SCHEMAP_ST_PROPS_CORRECT_1 => 3008,
    XML_SCHEMAP_ST_PROPS_CORRECT_2 => 3009,
    XML_SCHEMAP_ST_PROPS_CORRECT_3 => 3010,
    XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE => 1776,
    XML_SCHEMAP_TYPE_AND_SUBTYPE => 1728,
    XML_SCHEMAP_UNION_NOT_EXPRESSIBLE => 1794,
    XML_SCHEMAP_UNKNOWN_ALL_CHILD => 1729,
    XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD => 1730,
    XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD => 1732,
    XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP => 1733,
    XML_SCHEMAP_UNKNOWN_ATTR_CHILD => 1731,
    XML_SCHEMAP_UNKNOWN_BASE_TYPE => 1734,
    XML_SCHEMAP_UNKNOWN_CHOICE_CHILD => 1735,
    XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD => 1736,
    XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD => 1737,
    XML_SCHEMAP_UNKNOWN_ELEM_CHILD => 1738,
    XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD => 1739,
    XML_SCHEMAP_UNKNOWN_FACET_CHILD => 1740,
    XML_SCHEMAP_UNKNOWN_FACET_TYPE => 1741,
    XML_SCHEMAP_UNKNOWN_GROUP_CHILD => 1742,
    XML_SCHEMAP_UNKNOWN_IMPORT_CHILD => 1743,
    XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD => 1769,
    XML_SCHEMAP_UNKNOWN_LIST_CHILD => 1744,
    XML_SCHEMAP_UNKNOWN_MEMBER_TYPE => 1773,
    XML_SCHEMAP_UNKNOWN_NOTATION_CHILD => 1745,
    XML_SCHEMAP_UNKNOWN_PREFIX => 1767,
    XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD => 1746,
    XML_SCHEMAP_UNKNOWN_REF => 1747,
    XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD => 1748,
    XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD => 1749,
    XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD => 1750,
    XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD => 1751,
    XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD => 1752,
    XML_SCHEMAP_UNKNOWN_TYPE => 1753,
    XML_SCHEMAP_UNKNOWN_UNION_CHILD => 1754,
    XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH => 3086,
    XML_SCHEMAP_WARN_ATTR_REDECL_PROH => 3085,
    XML_SCHEMAP_WARN_SKIP_SCHEMA => 3083,
    XML_SCHEMAP_WARN_UNLOCATED_SCHEMA => 3084,
    XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER => 1792,
    XML_SCHEMATRONV_ASSERT => 4000,
    XML_SCHEMATRONV_REPORT => 4001,
    XML_SCHEMAV_ATTRINVALID => 1821,
    XML_SCHEMAV_ATTRUNKNOWN => 1820,
    XML_SCHEMAV_CONSTRUCT => 1817,
    XML_SCHEMAV_CVC_ATTRIBUTE_1 => 1861,
    XML_SCHEMAV_CVC_ATTRIBUTE_2 => 1862,
    XML_SCHEMAV_CVC_ATTRIBUTE_3 => 1863,
    XML_SCHEMAV_CVC_ATTRIBUTE_4 => 1864,
    XML_SCHEMAV_CVC_AU => 1874,
    XML_SCHEMAV_CVC_COMPLEX_TYPE_1 => 1873,
    XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 => 1841,
    XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 => 1842,
    XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 => 1843,
    XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 => 1844,
    XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 => 1865,
    XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 => 1866,
    XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 => 1867,
    XML_SCHEMAV_CVC_COMPLEX_TYPE_4 => 1868,
    XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 => 1869,
    XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 => 1870,
    XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 => 1824,
    XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 => 1825,
    XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 => 1826,
    XML_SCHEMAV_CVC_ELT_1 => 1845,
    XML_SCHEMAV_CVC_ELT_2 => 1846,
    XML_SCHEMAV_CVC_ELT_3_1 => 1847,
    XML_SCHEMAV_CVC_ELT_3_2_1 => 1848,
    XML_SCHEMAV_CVC_ELT_3_2_2 => 1849,
    XML_SCHEMAV_CVC_ELT_4_1 => 1850,
    XML_SCHEMAV_CVC_ELT_4_2 => 1851,
    XML_SCHEMAV_CVC_ELT_4_3 => 1852,
    XML_SCHEMAV_CVC_ELT_5_1_1 => 1853,
    XML_SCHEMAV_CVC_ELT_5_1_2 => 1854,
    XML_SCHEMAV_CVC_ELT_5_2_1 => 1855,
    XML_SCHEMAV_CVC_ELT_5_2_2_1 => 1856,
    XML_SCHEMAV_CVC_ELT_5_2_2_2_1 => 1857,
    XML_SCHEMAV_CVC_ELT_5_2_2_2_2 => 1858,
    XML_SCHEMAV_CVC_ELT_6 => 1859,
    XML_SCHEMAV_CVC_ELT_7 => 1860,
    XML_SCHEMAV_CVC_ENUMERATION_VALID => 1840,
    XML_SCHEMAV_CVC_FACET_VALID => 1829,
    XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID => 1838,
    XML_SCHEMAV_CVC_IDC => 1877,
    XML_SCHEMAV_CVC_LENGTH_VALID => 1830,
    XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID => 1836,
    XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID => 1834,
    XML_SCHEMAV_CVC_MAXLENGTH_VALID => 1832,
    XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID => 1835,
    XML_SCHEMAV_CVC_MININCLUSIVE_VALID => 1833,
    XML_SCHEMAV_CVC_MINLENGTH_VALID => 1831,
    XML_SCHEMAV_CVC_PATTERN_VALID => 1839,
    XML_SCHEMAV_CVC_TOTALDIGITS_VALID => 1837,
    XML_SCHEMAV_CVC_TYPE_1 => 1875,
    XML_SCHEMAV_CVC_TYPE_2 => 1876,
    XML_SCHEMAV_CVC_TYPE_3_1_1 => 1827,
    XML_SCHEMAV_CVC_TYPE_3_1_2 => 1828,
    XML_SCHEMAV_CVC_WILDCARD => 1878,
    XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING => 1872,
    XML_SCHEMAV_ELEMCONT => 1810,
    XML_SCHEMAV_ELEMENT_CONTENT => 1871,
    XML_SCHEMAV_EXTRACONTENT => 1813,
    XML_SCHEMAV_FACET => 1823,
    XML_SCHEMAV_HAVEDEFAULT => 1811,
    XML_SCHEMAV_INTERNAL => 1818,
    XML_SCHEMAV_INVALIDATTR => 1814,
    XML_SCHEMAV_INVALIDELEM => 1815,
    XML_SCHEMAV_ISABSTRACT => 1808,
    XML_SCHEMAV_MISC => 1879,
    XML_SCHEMAV_MISSING => 1804,
    XML_SCHEMAV_NOROLLBACK => 1807,
    XML_SCHEMAV_NOROOT => 1801,
    XML_SCHEMAV_NOTDETERMINIST => 1816,
    XML_SCHEMAV_NOTEMPTY => 1809,
    XML_SCHEMAV_NOTNILLABLE => 1812,
    XML_SCHEMAV_NOTSIMPLE => 1819,
    XML_SCHEMAV_NOTTOPLEVEL => 1803,
    XML_SCHEMAV_NOTYPE => 1806,
    XML_SCHEMAV_UNDECLAREDELEM => 1802,
    XML_SCHEMAV_VALUE => 1822,
    XML_SCHEMAV_WRONGELEM => 1805,
    XML_TREE_INVALID_DEC => 1301,
    XML_TREE_INVALID_HEX => 1300,
    XML_TREE_NOT_UTF8 => 1303,
    XML_TREE_UNTERMINATED_ENTITY => 1302,
    XML_WAR_CATALOG_PI => 93,
    XML_WAR_ENTITY_REDEFINED => 107,
    XML_WAR_LANG_VALUE => 98,
    XML_WAR_NS_COLUMN => 106,
    XML_WAR_NS_URI => 99,
    XML_WAR_NS_URI_RELATIVE => 100,
    XML_WAR_SPACE_VALUE => 102,
    XML_WAR_UNDECLARED_ENTITY => 27,
    XML_WAR_UNKNOWN_VERSION => 97,
    XML_XINCLUDE_BUILD_FAILED => 1609,
    XML_XINCLUDE_DEPRECATED_NS => 1617,
    XML_XINCLUDE_ENTITY_DEF_MISMATCH => 1602,
    XML_XINCLUDE_FALLBACKS_IN_INCLUDE => 1615,
    XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE => 1616,
    XML_XINCLUDE_FRAGMENT_ID => 1618,
    XML_XINCLUDE_HREF_URI => 1605,
    XML_XINCLUDE_INCLUDE_IN_INCLUDE => 1614,
    XML_XINCLUDE_INVALID_CHAR => 1608,
    XML_XINCLUDE_MULTIPLE_ROOT => 1611,
    XML_XINCLUDE_NO_FALLBACK => 1604,
    XML_XINCLUDE_NO_HREF => 1603,
    XML_XINCLUDE_PARSE_VALUE => 1601,
    XML_XINCLUDE_RECURSION => 1600,
    XML_XINCLUDE_TEXT_DOCUMENT => 1607,
    XML_XINCLUDE_TEXT_FRAGMENT => 1606,
    XML_XINCLUDE_UNKNOWN_ENCODING => 1610,
    XML_XINCLUDE_XPTR_FAILED => 1612,
    XML_XINCLUDE_XPTR_RESULT => 1613,
    XML_XPATH_ENCODING_ERROR => 1220,
    XML_XPATH_EXPRESSION_OK => 1200,
    XML_XPATH_EXPR_ERROR => 1207,
    XML_XPATH_FORBID_VARIABLE_ERROR => 1224,
    XML_XPATH_INVALID_ARITY => 1212,
    XML_XPATH_INVALID_CHAR_ERROR => 1221,
    XML_XPATH_INVALID_CTXT => 1222,
    XML_XPATH_INVALID_CTXT_POSITION => 1214,
    XML_XPATH_INVALID_CTXT_SIZE => 1213,
    XML_XPATH_INVALID_OPERAND => 1210,
    XML_XPATH_INVALID_PREDICATE_ERROR => 1206,
    XML_XPATH_INVALID_TYPE => 1211,
    XML_XPATH_MEMORY_ERROR => 1215,
    XML_XPATH_NUMBER_ERROR => 1201,
    XML_XPATH_OP_LIMIT_EXCEEDED => 1225,
    XML_XPATH_RECURSION_LIMIT_EXCEEDED => 1226,
    XML_XPATH_STACK_ERROR => 1223,
    XML_XPATH_START_LITERAL_ERROR => 1203,
    XML_XPATH_UNCLOSED_ERROR => 1208,
    XML_XPATH_UNDEF_PREFIX_ERROR => 1219,
    XML_XPATH_UNDEF_VARIABLE_ERROR => 1205,
    XML_XPATH_UNFINISHED_LITERAL_ERROR => 1202,
    XML_XPATH_UNKNOWN_FUNC_ERROR => 1209,
    XML_XPATH_VARIABLE_REF_ERROR => 1204,
    XML_XPTR_CHILDSEQ_START => 1901,
    XML_XPTR_EVAL_FAILED => 1902,
    XML_XPTR_EXTRA_OBJECTS => 1903,
    XML_XPTR_RESOURCE_ERROR => 1217,
    XML_XPTR_SUB_RESOURCE_ERROR => 1218,
    XML_XPTR_SYNTAX_ERROR => 1216,
    XML_XPTR_UNKNOWN_SCHEME => 1900,
);

enum xmlEntityType is export (
    XML_EXTERNAL_GENERAL_PARSED_ENTITY => 2,
    XML_EXTERNAL_GENERAL_UNPARSED_ENTITY => 3,
    XML_EXTERNAL_PARAMETER_ENTITY => 5,
    XML_INTERNAL_GENERAL_ENTITY => 1,
    XML_INTERNAL_PARAMETER_ENTITY => 4,
    XML_INTERNAL_PREDEFINED_ENTITY => 6,
);

enum xmlDocProperties is export (
    XML_DOC_WELLFORMED => 1, # document is XML well formed
    XML_DOC_NSVALID => 2,    # document is Namespace valid
    XML_DOC_OLD10 => 4,      # parsed with old XML-1.0 parser
    XML_DOC_DTDVALID => 8,   # DTD validation was successful
    XML_DOC_XINCLUDE => 16,  # XInclude substitution was done
    XML_DOC_USERBUILT => 32, # Document was built using the API and not by parsing an instance
    XML_DOC_INTERNAL => 64,  # built for internal processing
    XML_DOC_HTML => 128,     # parsed or built HTML document
);

=begin pod

=head2 Description

The Lib::XML::Enums module exports a large number of libxml2 native enumerations.

All are prefixed `XML_*`.

These are mostly low-level and encapsulated by LibXML. For example for nodes of type L<LibXML::Element> always have a `type` of `XML_ELEMENT_NODE`.

The `code` attribute of X::LibXML exceptions (see L<LibXML::ErrorHandling>) may be useful, if you wish to detect various libxml errors, for example:

    use LibXML;
    use LibXML::Enums;

    try LibXML.parse: :string("<foo>42</bar>");
    with $! -> X::LibXML $err {
        if $err.code == XML_ERR_TAG_NAME_MISMATCH {
            warn "your tags don't match";
        }
        else {
            warn $err;
        }
    }

The libxml L<error documentation> lists possible error codes. Enumerations should be defined for all of these. 

=head2 License

This program is free software; you can redistribute it and/or modify it under
the terms of the Artistic License 2.0 L<http://www.perlfoundation.org/artistic_license_2_0>.

=end pod


