Expand description
C ABI constants — supplementary ABI constants not defined as enum variants or flag bits in types.rs (§14).
This module contains additional constants that appear as #define macros in upstream headers
but are not naturally represented as Rust enum variants. The primary type/enum definitions
live in types.rs — this module holds the rest.
§Phase 1 status
Complete — all key upstream #define constants are present.
§Upstream header mapping
| Constant | Header | Purpose |
|---|---|---|
XML_DEFAULT_VERSION | parser.h | Default XML version string |
XML_DETECT_IDS | parser.h | Flag for xmlLoadExtDtdDefaultValue |
XML_COMPLETE_ATTRS | parser.h | Flag for xmlLoadExtDtdDefaultValue |
XML_SKIP_IDS | parser.h | Flag for xmlLoadExtDtdDefaultValue |
XML_SUBSTITUTE_* | parserInternals.h | Entity substitution flags |
XML_DOCB_DOCUMENT_NODE | tree.h | DocBook document node type value |
XML_XML_NAMESPACE | tree.h | The XML namespace URI |
XML_XPATH_CHECKNS | xpath.h | XPath evaluation flag |
XML_XPATH_NOVAR | xpath.h | XPath evaluation flag |
XML_CATALOGS_NAMESPACE | catalog.h | Catalog namespace URI |
XML_CATALOG_PI | catalog.h | Catalog PI target |
XML_SAX2_MAGIC | parser.h | SAX2 initialization marker |
Constants§
- HTML_
PARSE_ COMPACT - HTML parser option: compact text nodes.
- HTML_
PARSE_ IGNORE_ ENC - HTML parser option: ignore encoding declaration.
- HTML_
PARSE_ NOBLANKS - HTML parser option: remove blank nodes.
- HTML_
PARSE_ NOERROR - HTML parser option: suppress error reports.
- HTML_
PARSE_ NONET - HTML parser option: do not load external entities.
- HTML_
PARSE_ NOWARNING - HTML parser option: suppress warning reports.
- HTML_
PARSE_ NOXINCNODE - HTML parser option: do not generate XInclude nodes.
- HTML_
PARSE_ NO_ FLAGS - HTML parser status: no problem.
- HTML_
PARSE_ PEDANTIC - HTML parser option: pedantic error reporting.
- XML_
CATALOGS_ NAMESPACE - The XML Catalogs namespace URI.
- XML_
CATALOG_ PI - The XML Catalogs PI target string.
- XML_
COMPLETE_ ATTRS - Flag for xmlLoadExtDtdDefaultValue: complete attributes from DTD.
- XML_
DEFAULT_ VERSION - Default XML version string. #define XML_DEFAULT_VERSION “1.0”
- XML_
DETECT_ IDS - Flag for xmlLoadExtDtdDefaultValue: detect ID/IDREF attributes.
- XML_
DOCB_ DOCUMENT_ NODE - DocBook document node type (value 21).
- XML_
MAX_ CONV_ BUF_ LEN - Maximum conversion buffer length.
- XML_
MAX_ ENCODING_ NAME_ LEN - Maximum encoding name length.
- XML_
SAX2_ MAGIC - Magic value for SAX2 initialization in xmlSAXHandler.initialized.
- XML_
SKIP_ IDS - Flag for xmlLoadExtDtdDefaultValue: skip ID processing.
- XML_
SUBSTITUTE_ BOTH - Substitute both general and parameter entities.
- XML_
SUBSTITUTE_ NONE - Do not substitute entities.
- XML_
SUBSTITUTE_ PEREF - Substitute parameter entities.
- XML_
SUBSTITUTE_ REF - Substitute general entities.
- XML_
TEXTWRITER_ ATTRIBUTE_ NAME - Writer type: DOM writer (tree-based).
- XML_
TEXTWRITER_ ATTRIBUTE_ VALUE - Writer type: attribute value (content only).
- XML_
TEXTWRITER_ CDATA - Writer type: CDATA content.
- XML_
TEXTWRITER_ COMMENT - Writer type: comment node.
- XML_
TEXTWRITER_ DTD - Writer type: DTD node.
- XML_
TEXTWRITER_ DTD_ ATTL - Writer type: DTD attribute.
- XML_
TEXTWRITER_ DTD_ ELEM - Writer type: DTD element.
- XML_
TEXTWRITER_ DTD_ ENTY - Writer type: DTD entity.
- XML_
TEXTWRITER_ DTD_ NOTA - Writer type: DTD notation.
- XML_
TEXTWRITER_ ENTITY_ REF - Writer type: entity reference.
- XML_
TEXTWRITER_ NAME - Writer type: XML writer.
- XML_
TEXTWRITER_ NAMESPACE - Writer type: namespace declaration.
- XML_
TEXTWRITER_ NONE - Writer type: no writer.
- XML_
TEXTWRITER_ NO_ CONTENT - Writer type: element with no content.
- XML_
TEXTWRITER_ PI - Writer type: PI node.
- XML_
TEXTWRITER_ TEXT - Writer type: text content.
- XML_
TEXTWRITER_ XML_ DECLARATION - Writer type: XML declaration.
- XML_
XMLNS_ NAMESPACE - The xmlns namespace URI.
- XML_
XMLNS_ PREFIX - The xmlns prefix.
- XML_
XML_ NAMESPACE - The XML namespace URI.
- XML_
XML_ PREFIX - The xml prefix.
- XML_
XPATH_ CHECKNS - Check namespaces during XPath evaluation.
- XML_
XPATH_ NOVAR - Do not use default variable resolution.